]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The ANI control for the AR5416 and later chips was calling ar5212AniControl(),
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 24 May 2011 18:25:40 +0000 (18:25 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 24 May 2011 18:25:40 +0000 (18:25 +0000)
commit9f4563363b33dadf9e3eab914f650b1e2a898c14
treeff2aeb586a392365e250e7f359d0589b6578dd78
parent53fb12dbef9ba18df62ee71757c14836b44b6f01
The ANI control for the AR5416 and later chips was calling ar5212AniControl(),
which did AR5212 specific initialisation. This would cause some slight
silliness when enabling/disabling ANI.

Just to be completely correct - and to ensure the phy error mask/RX filter
register isn't incorrectly played with - make the ANI control function a
method, have it set appropriately for AR5212/AR5416, and call that from the
ANI control interface.
sys/dev/ath/ath_hal/ar5212/ar5212.h
sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
sys/dev/ath/ath_hal/ar5416/ar5416_attach.c