summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_ht.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-06-19 02:18:11 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-22 16:09:41 -0400
commite7c62552ec43c094ca523fc46b98181df364f49f (patch)
tree768f3590264360000f0c36dee2829708a5433e6b /drivers/net/wireless/b43/phy_ht.h
parent1c1236e3af9c0a52e63c1c386413f13627e68e67 (diff)
downloadlinux-e7c62552ec43c094ca523fc46b98181df364f49f.tar.gz
linux-e7c62552ec43c094ca523fc46b98181df364f49f.tar.bz2
linux-e7c62552ec43c094ca523fc46b98181df364f49f.zip
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>
Diffstat (limited to 'drivers/net/wireless/b43/phy_ht.h')
-rw-r--r--drivers/net/wireless/b43/phy_ht.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.h b/drivers/net/wireless/b43/phy_ht.h
index 84ac47cbfaad..e16d4bbeb4b6 100644
--- a/drivers/net/wireless/b43/phy_ht.h
+++ b/drivers/net/wireless/b43/phy_ht.h
@@ -8,6 +8,8 @@
#define B43_PHY_HT_TABLE_DATALO 0x073 /* Table data low */
#define B43_PHY_HT_TABLE_DATAHI 0x074 /* Table data high */
+#define B43_PHY_HT_RF_CTL1 B43_PHY_EXTG(0x010)
+
#define B43_PHY_HT_AFE_CTL1 B43_PHY_EXTG(0x110)
#define B43_PHY_HT_AFE_CTL2 B43_PHY_EXTG(0x111)
#define B43_PHY_HT_AFE_CTL3 B43_PHY_EXTG(0x114)