From owner-cvs-src-old@FreeBSD.ORG Thu Jun 23 02:38:58 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6398A1065744 for ; Thu, 23 Jun 2011 02:38:58 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 34FF28FC0A for ; Thu, 23 Jun 2011 02:38:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5N2cwl4000556 for ; Thu, 23 Jun 2011 02:38:58 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5N2cwEs000555 for cvs-src-old@freebsd.org; Thu, 23 Jun 2011 02:38:58 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201106230238.p5N2cwEs000555@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Thu, 23 Jun 2011 02:38:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath ah_osdep.c if_ath.c if_ath_sysctl.c if_ath_sysctl.h src/sys/dev/ath/ath_hal ah.h ah_internal.h src/sys/dev/ath/ath_hal/ar5210 ar5210_beacon.c src/sys/dev/ath/ath_hal/ar5211 ar5211_beacon.c ar5211_xmit.c src/sys/dev/ath/ath_hal/ar5212 ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 02:38:58 -0000 adrian 2011-06-23 02:38:36 UTC FreeBSD src repository Modified files: sys/dev/ath ah_osdep.c if_ath.c if_ath_sysctl.c if_ath_sysctl.h sys/dev/ath/ath_hal ah.h ah_internal.h sys/dev/ath/ath_hal/ar5210 ar5210_beacon.c sys/dev/ath/ath_hal/ar5211 ar5211_beacon.c ar5211_xmit.c sys/dev/ath/ath_hal/ar5212 ar5212_beacon.c ar5212_xmit.c sys/dev/ath/ath_hal/ar5416 ar2133.c ar5416_beacon.c ar5416_misc.c ar5416_xmit.c Log: SVN rev 223459 on 2011-06-23 02:38:36Z by adrian Break out most of the HAL related tweaks into a per-HAL instance, rather than global variables. This specifically allows for debugging to be enabled per-NIC, rather than globally. Since the ath driver doesn't know about AH_DEBUG, and to keep the ABI consistent regardless of whether AH_DEBUG is enabled or not, enable the debug parameter always but only conditionally compile in the debug methods if needed. The ALQ support is currently still global pending some brainstorming. Submitted by: ssgriffonuser@gmail.com Reviewed by: adrian, bschmidt Revision Changes Path 1.19 +3 -28 src/sys/dev/ath/ah_osdep.c 1.39 +12 -0 src/sys/dev/ath/ath_hal/ah.h 1.41 +1 -8 src/sys/dev/ath/ath_hal/ah_internal.h 1.3 +2 -2 src/sys/dev/ath/ath_hal/ar5210/ar5210_beacon.c 1.3 +2 -2 src/sys/dev/ath/ath_hal/ar5211/ar5211_beacon.c 1.4 +3 -2 src/sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c 1.3 +2 -2 src/sys/dev/ath/ath_hal/ar5212/ar5212_beacon.c 1.8 +3 -3 src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c 1.10 +1 -1 src/sys/dev/ath/ath_hal/ar5416/ar2133.c 1.3 +2 -2 src/sys/dev/ath/ath_hal/ar5416/ar5416_beacon.c 1.18 +1 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c 1.17 +3 -3 src/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c 1.326 +1 -0 src/sys/dev/ath/if_ath.c 1.6 +40 -0 src/sys/dev/ath/if_ath_sysctl.c 1.2 +1 -1 src/sys/dev/ath/if_ath_sysctl.h