ath9k : Display MAC/BB and RF version at startup (v2)
authorBenoit PAPILLAULT <benoit.papillault@free.fr>
Thu, 6 Nov 2008 21:26:49 +0000 (22:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:06:06 +0000 (11:06 -0500)
commit392dff836f40370033bbe3b39e3b9bf4148d1435
tree181144a134369dc41ebf273b890f85daaf7da946
parent4821277f36e008b531728e359fbbedb229117f4b
ath9k : Display MAC/BB and RF version at startup (v2)

This patch decodes the MAC/BB version (for instance: AR5416) and the RF
part version (for instance: AR5133). It has been tested on AR5416/AR5133
which is a 2.4/5GHz 11n device. It also makes the differences between
AR5416 (PCI) and AR5418 (PCI Express). Both are named AR5416 in
the register definitions.

Signed-off-by: Benoit Papillault <benoit.papillault@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c
drivers/net/wireless/ath9k/main.c