]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath9k: Add PID/VID support for AR1111
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Thu, 2 Aug 2012 06:28:50 +0000 (11:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 15:10:10 +0000 (08:10 -0700)
commit d4e5979c0da95791aa717c18e162540c7a596360 upstream.

AR1111 is same as AR9485. The h/w
difference between them is quite insignificant,
Felix suggests only very few baseband features
may not be available in AR1111. The h/w code for
AR9485 is already present, so AR1111 should
work fine with the addition of its PID/VID.

Reported-by: Tim Bentley <Tim.Bentley@Gmail.com>
Cc: Felix Bitterli <felixb@qca.qualcomm.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Tested-by: Tim Bentley <Tim.Bentley@Gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/pci.c

index 6dfd96448846f6573e2931ec66221e44f495a77e..28a0edd57f08c972ae2674a898b512db7b01761c 100644 (file)
@@ -676,6 +676,7 @@ int ath9k_hw_init(struct ath_hw *ah)
        case AR9300_DEVID_AR9340:
        case AR9300_DEVID_AR9580:
        case AR9300_DEVID_AR9462:
+       case AR9485_DEVID_AR1111:
                break;
        default:
                if (common->bus_ops->ath_bus_type == ATH_USB)
index e88f182ff45c1b36b88cd8eda93af3d335b0a0e2..f8e1fbbbfc5e60a70bf0f18a120d6f03e5b52248 100644 (file)
@@ -48,6 +48,7 @@
 #define AR9300_DEVID_AR9580    0x0033
 #define AR9300_DEVID_AR9462    0x0034
 #define AR9300_DEVID_AR9330    0x0035
+#define AR9485_DEVID_AR1111    0x0037
 
 #define AR5416_AR9100_DEVID    0x000b
 
index 77dc327def8dec509f50bfe4f490f1a29351f905..e44097a7529a363b84c2033947377642ac0b6a79 100644 (file)
@@ -35,6 +35,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
        { PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E  AR9485 */
        { PCI_VDEVICE(ATHEROS, 0x0033) }, /* PCI-E  AR9580 */
        { PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E  AR9462 */
+       { PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E  AR1111/AR9485 */
        { 0 }
 };