]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: read chip ID and HW PG version during probe
authorLuciano Coelho <coelho@ti.com>
Wed, 18 Jan 2012 12:53:22 +0000 (14:53 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:29 +0000 (08:38 +0200)
commitfc23590d3fe4464ed01560d5b334601785d6822f
treeffa272050711b74d1abb4c91db2340a0978ecb21
parentd7f08a3aacf4206ab7575697bd04fae151f3d7ea
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>
drivers/net/wireless/wl12xx/boot.c
drivers/net/wireless/wl12xx/debug.h
drivers/net/wireless/wl12xx/main.c