b43: LCN-PHY: switch analog
authorRafał Miłecki <zajec5@gmail.com>
Sun, 14 Aug 2011 21:27:30 +0000 (23:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Aug 2011 18:41:41 +0000 (14:41 -0400)
commit7ed88528884bd477bddef367e8676b9e5ff99668
tree7ced7c38fbaa9bbc69c72f15ca7f736af9be32d7
parentba356b569f7c0ff5cdf6c1abb8a9b789e5eeed22
b43: LCN-PHY: switch analog

Analog is switched on right after reading PHY version:
 read16 0xfaafc3e0 -> 0xa801
 phy_read(0x043b) -> 0x0000
phy_write(0x043b) <- 0x0000
Switched off after after killing radio:
>>> Switch Radio(OFF) end
 phy_read(0x043c) -> 0x0000
phy_write(0x043c) <- 0x0007
 phy_read(0x043b) -> 0x0000
phy_write(0x043b) <- 0x0007

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_lcn.c
drivers/net/wireless/b43/phy_lcn.h