summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/io.h
diff options
context:
space:
mode:
authorLuciano Coelho2012-04-11 10:03:14 +0200
committerLuciano Coelho2012-04-12 07:43:57 +0200
commitdd5512eb6b8317069e80d70a624b6d350afebc9e (patch)
treeba3e11137040272c12314f41d5db355f62d2bfc7 /drivers/net/wireless/ti/wlcore/io.h
parentwlcore/wl12xx: move get_pg_ver to the lower driver (diff)
downloadkernel-qcow2-linux-dd5512eb6b8317069e80d70a624b6d350afebc9e.tar.gz
kernel-qcow2-linux-dd5512eb6b8317069e80d70a624b6d350afebc9e.tar.xz
kernel-qcow2-linux-dd5512eb6b8317069e80d70a624b6d350afebc9e.zip
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 c5ca3c83631a..8942954b56a0 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);