summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/io.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-11 08:03:14 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-04-12 05:43:57 (GMT)
commitdd5512eb6b8317069e80d70a624b6d350afebc9e (patch)
treeba3e11137040272c12314f41d5db355f62d2bfc7 /drivers/net/wireless/ti/wlcore/io.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/wlcore/io.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/io.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/ti/wlcore/io.h b/drivers/net/wireless/ti/wlcore/io.h
index c5ca3c8..8942954 100644
--- a/drivers/net/wireless/ti/wlcore/io.h
+++ b/drivers/net/wireless/ti/wlcore/io.h
@@ -44,8 +44,8 @@
struct wl1271;
-void wl1271_disable_interrupts(struct wl1271 *wl);
-void wl1271_enable_interrupts(struct wl1271 *wl);
+void wlcore_disable_interrupts(struct wl1271 *wl);
+void wlcore_enable_interrupts(struct wl1271 *wl);
void wl1271_io_reset(struct wl1271 *wl);
void wl1271_io_init(struct wl1271 *wl);
@@ -173,11 +173,6 @@ static inline int wl1271_power_on(struct wl1271 *wl)
return ret;
}
-
-/* Top Register IO */
-void wl1271_top_reg_write(struct wl1271 *wl, int addr, u16 val);
-u16 wl1271_top_reg_read(struct wl1271 *wl, int addr);
-
void wlcore_set_partition(struct wl1271 *wl,
const struct wlcore_partition_set *p);