wl1271: Add sysfs file to retrieve HW PG-version and ROM-version
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Fri, 7 May 2010 08:38:58 +0000 (11:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:57:18 +0000 (14:57 -0400)
commitd717fd6188b2ea63cf9dc0a870fd312c312841cd
tree428410070c7ce5aa36f699939344bb3267ad9eed
parent2ff6575b1e497f88acf2c7de7e1ba015267b689d
wl1271: Add sysfs file to retrieve HW PG-version and ROM-version

This patch reads the HW PG version (along with a ROM-version, embedded in the
same value) from the wl1271 hardware and publishes the value in a sysfs -file.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271.h
drivers/net/wireless/wl12xx/wl1271_boot.c
drivers/net/wireless/wl12xx/wl1271_boot.h
drivers/net/wireless/wl12xx/wl1271_main.c