ath5k: Add a function to read chipset's MAC revision
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Dec 2010 09:27:06 +0000 (10:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Dec 2010 20:17:51 +0000 (15:17 -0500)
commite7aecd327d80b2f156b54769013aaccb2a20645a
tree6b0edda6058597dc290bf75dd72883a8480b8250
parent8efa5d7d6ad307ae2d220def37ca89594062c40d
ath5k: Add a function to read chipset's MAC revision

Add bus dependent revision read function which is used to
determine chipset's MAC before hardware is initialized.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/pci.c