Commit 3050c914 authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by John W. Linville

ath9k_hw: Enable hw initialization for AR9485

Also make it a supported mac
Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d9c803e1
...@@ -24,6 +24,7 @@ static bool ar9003_hw_macversion_supported(u32 macversion) ...@@ -24,6 +24,7 @@ static bool ar9003_hw_macversion_supported(u32 macversion)
{ {
switch (macversion) { switch (macversion) {
case AR_SREV_VERSION_9300: case AR_SREV_VERSION_9300:
case AR_SREV_VERSION_9485:
return true; return true;
default: default:
break; break;
......
...@@ -621,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah) ...@@ -621,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah)
case AR9287_DEVID_PCIE: case AR9287_DEVID_PCIE:
case AR2427_DEVID_PCIE: case AR2427_DEVID_PCIE:
case AR9300_DEVID_PCIE: case AR9300_DEVID_PCIE:
case AR9300_DEVID_AR9485_PCIE:
break; break;
default: default:
if (common->bus_ops->ath_bus_type == ATH_USB) if (common->bus_ops->ath_bus_type == ATH_USB)
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#define AR9287_DEVID_PCI 0x002d #define AR9287_DEVID_PCI 0x002d
#define AR9287_DEVID_PCIE 0x002e #define AR9287_DEVID_PCIE 0x002e
#define AR9300_DEVID_PCIE 0x0030 #define AR9300_DEVID_PCIE 0x0030
#define AR9300_DEVID_AR9485_PCIE 0x0032
#define AR5416_AR9100_DEVID 0x000b #define AR5416_AR9100_DEVID 0x000b
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment