]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ath9k_hw: Enable hw initialization for AR9485
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Mon, 6 Dec 2010 12:27:36 +0000 (04:27 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 21:34:50 +0000 (16:34 -0500)
Also make it a supported mac

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h

index c2a057156bfa19c7c9db6862bb3233254fb0d452..0e3e259df46419998dd7f9937ed9f70fc09954a7 100644 (file)
@@ -24,6 +24,7 @@ static bool ar9003_hw_macversion_supported(u32 macversion)
 {
        switch (macversion) {
        case AR_SREV_VERSION_9300:
+       case AR_SREV_VERSION_9485:
                return true;
        default:
                break;
index 9d3be0392a9b81de0c6a5c87c814a0871135ad6a..2d4b3c273725770f53965fbb7777084ff96fcfde 100644 (file)
@@ -621,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah)
        case AR9287_DEVID_PCIE:
        case AR2427_DEVID_PCIE:
        case AR9300_DEVID_PCIE:
+       case AR9300_DEVID_AR9485_PCIE:
                break;
        default:
                if (common->bus_ops->ath_bus_type == ATH_USB)
index ee0b1cfe9c5ee83ebc50b058c7b0348b4298cd7b..0649ae6b33ddf55ec6341cc4226a0693db9d9adf 100644 (file)
@@ -43,6 +43,7 @@
 #define AR9287_DEVID_PCI       0x002d
 #define AR9287_DEVID_PCIE      0x002e
 #define AR9300_DEVID_PCIE      0x0030
+#define AR9300_DEVID_AR9485_PCIE 0x0032
 
 #define AR5416_AR9100_DEVID    0x000b