]> err.no Git - linux-2.6/commit
[PATCH] zd1211rw: Fix E2P_PHY_REG patching
authorDaniel Drake <dsd@gentoo.org>
Tue, 3 Apr 2007 22:17:37 +0000 (23:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2007 18:35:56 +0000 (14:35 -0400)
commit92b3e2e9253a9f4c9224071842fd263c334dece0
tree460e99558feb77f65ef285774480f4fbdd75e09b
parentae6ead4623bfbc57f3945ff86f27e51811e2e91b
[PATCH] zd1211rw: Fix E2P_PHY_REG patching

Due to conflicting/confusing defines in the vendor driver, we were
reading E2P_PHY_REG from the wrong location.

CR157 patching was slightly incorrect in that the vendor driver only
patches in an 8-bit value, whereas we were patching 24 bits.

Additionally, CR157 patching was happening on both zd1211 and zd1211b,
but this should only happen on zd1211.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_chip.c
drivers/net/wireless/zd1211rw/zd_chip.h