]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit311193659ffe24a51f9401d94538c0225c9cf6cd
tree428410070c7ce5aa36f699939344bb3267ad9eed
parentde76ec8f05743022d97d309b22599e0482e592d2
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