summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl12xx/reg.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-11 12:03:14 +0400
committerLuciano Coelho <coelho@ti.com>2012-04-12 09:43:57 +0400
commitdd5512eb6b8317069e80d70a624b6d350afebc9e (patch)
treeba3e11137040272c12314f41d5db355f62d2bfc7 /drivers/net/wireless/ti/wl12xx/reg.h
parent4ded91ced98c3d35c0d36e9ac5e69589f7aad04a (diff)
downloadlinux-dd5512eb6b8317069e80d70a624b6d350afebc9e.tar.xz
wlcore/wl12xx: move top initialization to wl12xx
The top registers initialization is very specific to the actual hardware used, even the way in which we read from and write to the top registers varies from chip to chip. This patch moves all top registers initialization to wl12xx. Also add a boot op for the wlcore module to call at the right time and a few callbacks with the common called to be called from the lower drivers boot operations. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/reg.h')
-rw-r--r--drivers/net/wireless/ti/wl12xx/reg.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/reg.h b/drivers/net/wireless/ti/wl12xx/reg.h
index 52012ca21c01..003041bdb5f7 100644
--- a/drivers/net/wireless/ti/wl12xx/reg.h
+++ b/drivers/net/wireless/ti/wl12xx/reg.h
@@ -428,16 +428,6 @@ b12-b0 - Supported Rate indicator bits as defined below.
#define OCP_REG_CLK_POLARITY 0x0cb2
#define OCP_REG_CLK_PULL 0x0cb4
-#define WL127X_REG_FUSE_DATA_2_1 0x050a
-#define WL128X_REG_FUSE_DATA_2_1 0x2152
-#define PG_VER_MASK 0x3c
-#define PG_VER_OFFSET 2
-
-#define PG_MAJOR_VER_MASK 0x3
-#define PG_MAJOR_VER_OFFSET 0x0
-#define PG_MINOR_VER_MASK 0xc
-#define PG_MINOR_VER_OFFSET 0x2
-
#define POLARITY_LOW BIT(1)
#define NO_PULL (BIT(14) | BIT(15))