b43: define new PHYs and radio regs for cores >= 24
authorRafał Miłecki <zajec5@gmail.com>
Mon, 13 Jun 2011 14:20:05 +0000 (16:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Jun 2011 18:22:19 +0000 (14:22 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h

index 1cb2dde..666515e 100644 (file)
@@ -92,6 +92,8 @@
 #define B43_MMIO_PIO11_BASE4           0x300
 #define B43_MMIO_PIO11_BASE5           0x340
 
+#define B43_MMIO_RADIO24_CONTROL       0x3D8   /* core rev >= 24 only */
+#define B43_MMIO_RADIO24_DATA          0x3DA   /* core rev >= 24 only */
 #define B43_MMIO_PHY_VER               0x3E0
 #define B43_MMIO_PHY_RADIO             0x3E2
 #define B43_MMIO_PHY0                  0x3E6
@@ -363,6 +365,10 @@ enum {
 #define B43_PHYTYPE_G                  0x02
 #define B43_PHYTYPE_N                  0x04
 #define B43_PHYTYPE_LP                 0x05
+#define B43_PHYTYPE_SSLPN              0x06
+#define B43_PHYTYPE_HT                 0x07
+#define B43_PHYTYPE_LCN                        0x08
+#define B43_PHYTYPE_LCNXN              0x09
 
 /* PHYRegisters */
 #define B43_PHY_ILT_A_CTRL             0x0072