Date: Thu, 23 Jun 2011 02:38:36 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org 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 ... Message-ID: <201106230238.p5N2cwEs000555@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106230238.p5N2cwEs000555>