mac80211: update to 2014-10-08
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 513-ath9k_add_pci_ids.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -611,6 +611,7 @@ int ath9k_hw_init(struct ath_hw *ah)
4
5 /* These are all the AR5008/AR9001/AR9002/AR9003 hardware family of chipsets */
6 switch (ah->hw_version.devid) {
7 + case AR9300_DEVID_INVALID:
8 case AR5416_DEVID_PCI:
9 case AR5416_DEVID_PCIE:
10 case AR5416_AR9100_DEVID:
11 --- a/drivers/net/wireless/ath/ath9k/hw.h
12 +++ b/drivers/net/wireless/ath/ath9k/hw.h
13 @@ -35,6 +35,7 @@
14
15 #define ATHEROS_VENDOR_ID 0x168c
16
17 +#define AR9300_DEVID_INVALID 0xabcd
18 #define AR5416_DEVID_PCI 0x0023
19 #define AR5416_DEVID_PCIE 0x0024
20 #define AR9160_DEVID_PCI 0x0027
21 --- a/drivers/net/wireless/ath/ath9k/pci.c
22 +++ b/drivers/net/wireless/ath/ath9k/pci.c
23 @@ -664,6 +664,7 @@ static const struct pci_device_id ath_pc
24 .driver_data = ATH9K_PCI_BT_ANT_DIV },
25 #endif
26
27 + { PCI_VDEVICE(ATHEROS, 0xabcd) }, /* PCI-E internal chip default ID */
28 { 0 }
29 };
30