]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Fix reset sequence for AR5212 in general and RF5111 in particular
authorElias Oltmanns <eo@nebensachen.de>
Wed, 29 Oct 2008 13:25:42 +0000 (14:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Oct 2008 21:54:35 +0000 (17:54 -0400)
commit9dc44bda5a7b378c5b88715077e273dbed545749
tree3cbe98a37518a7fa6aa2444eaf25ef743e2951b0
parent9485a40036c9b3c8349eb013746a7db42dcff9e5
ath5k: Fix reset sequence for AR5212 in general and RF5111 in particular

Take care to handle register 0xa228 exactly as in the HAL released by
Atheros. This change is required to make ath5k work again on my system
since commit a65d9baf (ath5k: Misc hw_reset updates), thus fixing a
regression in 2.6.27 and therefore hopefully eligible for inclusion into
a stable release.

v2: Only overwrite initial register values on later revisions of AR5212
    chips.
v3: Use standard macros to manipulate the register.

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/initvals.c
drivers/net/wireless/ath5k/reset.c