]> git.baikalelectronics.ru Git - kernel.git/commit
b43: HT-PHY: implement killing radio
authorRafał Miłecki <zajec5@gmail.com>
Sun, 19 Jun 2011 00:18:11 +0000 (02:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Jun 2011 20:09:41 +0000 (16:09 -0400)
commitd76d9c6782dcbf4ad65421b9a89f118909dcbe80
tree768f3590264360000f0c36dee2829708a5433e6b
parent1b4d1580c85b95da05161b5fedd26ab254477d2d
b43: HT-PHY: implement killing radio

Closed drivers kill radio right after reading radio version and MACCTL,
so it was easy to find related PHY ops:
 phy_read(0x0810) -> 0x0000
phy_write(0x0810) <- 0x0000
To find out the mask of above OP, MMIO hack was used to fake read val:
 phy_read(0x0810) -> 0xffff
phy_write(0x0810) <- 0x0000

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