]> 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)
commitc4c9c3350db1adb061a4be1c0b5e7cff614b3737
treeffa272050711b74d1abb4c91db2340a0978ecb21
parent0eaa06948d282c8ee7d0cccaf14c9a20c8349c7b
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