Date: Wed, 25 May 2011 07:34:49 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_athvar.h src/sys/dev/ath/ath_hal ah.h ah_internal.h src/sys/dev/ath/ath_hal/ar5212 ar5212_misc.c Message-ID: <201105250735.p4P7Z09S071368@repoman.freebsd.org>
index | next in thread | raw e-mail
adrian 2011-05-25 07:34:49 UTC
FreeBSD src repository
Modified files:
sys/dev/ath if_athvar.h
sys/dev/ath/ath_hal ah.h ah_internal.h
sys/dev/ath/ath_hal/ar5212 ar5212_misc.c
Log:
SVN rev 222277 on 2011-05-25 07:34:49Z by adrian
The current ANI capability information uses a different set of
values for the commands, compared to the internal command values
(HAL_ANI_CMD.)
My eventual aim is to make the HAL_ANI_CMD internal enum match
the public API and then remove all this messiness.
This now allows HAL_CAP_INTMIT users to use a public HAL_CAP_INTMIT_
enum rather than magic constants.
The only magic constants currently used by if_ath are "enable" and
"present". Some local tools of mine allow for direct, manual fiddling
of the ANI variables and I'll convert these to use the public enum API
before I commit them.
Revision Changes Path
1.35 +35 -0 src/sys/dev/ath/ath_hal/ah.h
1.39 +0 -17 src/sys/dev/ath/ath_hal/ah_internal.h
1.13 +9 -7 src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
1.103 +3 -3 src/sys/dev/ath/if_athvar.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105250735.p4P7Z09S071368>
