summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/debug.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-01-18 14:53:22 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:29 +0200
commit30c5dbd1ee191dca1c04c70df0ba1adf0a9769c3 (patch)
treeffa272050711b74d1abb4c91db2340a0978ecb21 /drivers/net/wireless/wl12xx/debug.h
parent0becb14ab42c2435402437a9dbc279599f6af8fb (diff)
downloadblackbird-op-linux-30c5dbd1ee191dca1c04c70df0ba1adf0a9769c3.tar.gz
blackbird-op-linux-30c5dbd1ee191dca1c04c70df0ba1adf0a9769c3.zip
wl12xx: read chip ID and HW PG version during probe
In order to read the MAC addresses from the fuse ROM, we need to know the chip ID and the HW PG version. We need to know the MAC address during probe, because that's when we register our HW with mac80211. To prepare for that, this patch reads the chip ID and HW PG version during probe instead of doing it at boot time. We power the chip on briefly in order to do that. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/debug.h')
-rw-r--r--drivers/net/wireless/wl12xx/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/debug.h b/drivers/net/wireless/wl12xx/debug.h
index b85fd8c41e8f..ec0fdc25b280 100644
--- a/drivers/net/wireless/wl12xx/debug.h
+++ b/drivers/net/wireless/wl12xx/debug.h
@@ -51,6 +51,7 @@ enum {
DEBUG_FILTERS = BIT(15),
DEBUG_ADHOC = BIT(16),
DEBUG_AP = BIT(17),
+ DEBUG_PROBE = BIT(18),
DEBUG_MASTER = (DEBUG_ADHOC | DEBUG_AP),
DEBUG_ALL = ~0,
};
OpenPOWER on IntegriCloud