summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/boot.h
diff options
context:
space:
mode:
authorGery Kahn <geryk@ti.com>2011-07-18 14:21:49 +0300
committerLuciano Coelho <coelho@ti.com>2011-08-12 09:22:49 +0300
commit6f07b72adaeddc9a90306ab4f2237b90967fd3ce (patch)
tree60efac8fd681eedbe691aab76fde68de52bd3220 /drivers/net/wireless/wl12xx/boot.h
parent0a1d3abcc43231e341b6890b873dc27cba848218 (diff)
wl12xx: fixes for hw_pg_ver and chip id reporting
Fix the value of PG version for 128x at sysfs, remove write permissions from PG version (hw_pg_ver) in sysfs and add remove files (hw_pg_ver,bt_coex_state) from sysfs while freeing hardware. New macro names for register Fuse_data_2_1 depend on architecture. Propagate chip id through wiphy in PLT mode which still not work of a bug in ethtool. Signed-off-by: Gery Kahn <geryk@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/boot.h')
-rw-r--r--drivers/net/wireless/wl12xx/boot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/boot.h b/drivers/net/wireless/wl12xx/boot.h
index e8f8255bbabe..06dad9380fa7 100644
--- a/drivers/net/wireless/wl12xx/boot.h
+++ b/drivers/net/wireless/wl12xx/boot.h
@@ -55,7 +55,8 @@ struct wl1271_static_data {
#define OCP_REG_CLK_POLARITY 0x0cb2
#define OCP_REG_CLK_PULL 0x0cb4
-#define REG_FUSE_DATA_2_1 0x050a
+#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