]> git.baikalelectronics.ru Git - kernel.git/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)
commit5651e84080c1455446f1877ec5e79bf516e1f292
tree460e99558feb77f65ef285774480f4fbdd75e09b
parenta4956cd8c94a292cc9398f6973dfc5dda548bcfc
[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