aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-12-06 07:27:36 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-07 16:34:50 -0500
commit3050c9146b2a4c98a916192fac2867c0023ec2b1 (patch)
treef0cf9aa371a0c23bf3ed9e2cf939fed95b40c77f /drivers/net/wireless
parentd9c803e1864d563b07382eb1bb8979cd70b1001e (diff)
ath9k_hw: Enable hw initialization for AR9485
Also make it a supported mac Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_hw.c1
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c1
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
index c2a057156bf..0e3e259df46 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
@@ -24,6 +24,7 @@ static bool ar9003_hw_macversion_supported(u32 macversion)
24{ 24{
25 switch (macversion) { 25 switch (macversion) {
26 case AR_SREV_VERSION_9300: 26 case AR_SREV_VERSION_9300:
27 case AR_SREV_VERSION_9485:
27 return true; 28 return true;
28 default: 29 default:
29 break; 30 break;
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 9d3be0392a9..2d4b3c27372 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -621,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah)
621 case AR9287_DEVID_PCIE: 621 case AR9287_DEVID_PCIE:
622 case AR2427_DEVID_PCIE: 622 case AR2427_DEVID_PCIE:
623 case AR9300_DEVID_PCIE: 623 case AR9300_DEVID_PCIE:
624 case AR9300_DEVID_AR9485_PCIE:
624 break; 625 break;
625 default: 626 default:
626 if (common->bus_ops->ath_bus_type == ATH_USB) 627 if (common->bus_ops->ath_bus_type == ATH_USB)
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index ee0b1cfe9c5..0649ae6b33d 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -43,6 +43,7 @@
43#define AR9287_DEVID_PCI 0x002d 43#define AR9287_DEVID_PCI 0x002d
44#define AR9287_DEVID_PCIE 0x002e 44#define AR9287_DEVID_PCIE 0x002e
45#define AR9300_DEVID_PCIE 0x0030 45#define AR9300_DEVID_PCIE 0x0030
46#define AR9300_DEVID_AR9485_PCIE 0x0032
46 47
47#define AR5416_AR9100_DEVID 0x000b 48#define AR5416_AR9100_DEVID 0x000b
48 49