aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/hw.c
diff options
context:
space:
mode:
authorBenoit PAPILLAULT <benoit.papillault@free.fr>2008-11-06 22:26:49 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:06:06 -0500
commit392dff836f40370033bbe3b39e3b9bf4148d1435 (patch)
tree181144a134369dc41ebf273b890f85daaf7da946 /drivers/net/wireless/ath9k/hw.c
parent4821277f36e008b531728e359fbbedb229117f4b (diff)
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>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath9k/hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c
index e05c9ef55e4..ff6457e0cb0 100644
--- a/drivers/net/wireless/ath9k/hw.c
+++ b/drivers/net/wireless/ath9k/hw.c
@@ -382,8 +382,9 @@ static const char *ath9k_hw_devname(u16 devid)
{
switch (devid) {
case AR5416_DEVID_PCI:
- case AR5416_DEVID_PCIE:
return "Atheros 5416";
+ case AR5416_DEVID_PCIE:
+ return "Atheros 5418";
case AR9160_DEVID_PCI:
return "Atheros 9160";
case AR9280_DEVID_PCI: