summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-11 11:07:28 +0300
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:57 +0300
commit30d9b4a58bc168620eed0fc6d90b2f05cd02a462 (patch)
tree8e12315f08cfa4909e4e736014d57370ee00c4e8 /drivers/net/wireless/ti/wlcore/wlcore.h
parentdd5512eb6b8317069e80d70a624b6d350afebc9e (diff)
downloadlinux-30d9b4a58bc168620eed0fc6d90b2f05cd02a462.tar.bz2
wlcore/wl12xx: move MAC address reading operation to lower driver
Different chip families have the factory MAC address written in different places. Add a new hardware operation to read the MAC address, if available. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index f2b18bec8f54..38d1ed2967c8 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -31,6 +31,7 @@ struct wlcore_ops {
int (*identify_chip)(struct wl1271 *wl);
int (*boot)(struct wl1271 *wl);
s8 (*get_pg_ver)(struct wl1271 *wl);
+ void (*get_mac)(struct wl1271 *wl);
};
enum wlcore_partitions {