diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-01-30 13:21:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-01-30 13:21:36 +0000 |
commit | eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74 (patch) | |
tree | f384015bf67b4da2efefd6d04a7f620dfe4504b1 /package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch | |
parent | 2725913d2acca4774c41c7de0d8f4940615a3f1d (diff) | |
download | mtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.zip mtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.gz mtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.bz2 |
mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39427
Diffstat (limited to 'package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch')
-rw-r--r-- | package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch b/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch index cae555a..8068650 100644 --- a/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch +++ b/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch @@ -1,26 +1,26 @@ --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -682,6 +682,7 @@ int ath9k_hw_init(struct ath_hw *ah) - case AR9300_DEVID_AR9462: - case AR9485_DEVID_AR1111: - case AR9300_DEVID_AR9565: +@@ -518,6 +518,7 @@ static int __ath9k_hw_init(struct ath_hw + ath9k_hw_read_revisions(ah); + + switch (ah->hw_version.macVersion) { + case AR9300_DEVID_INVALID: - break; - default: - if (common->bus_ops->ath_bus_type == ATH_USB) + case AR_SREV_VERSION_5416_PCI: + case AR_SREV_VERSION_5416_PCIE: + case AR_SREV_VERSION_9160: --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -52,6 +52,7 @@ - #define AR9300_DEVID_QCA955X 0x0038 - #define AR9485_DEVID_AR1111 0x0037 - #define AR9300_DEVID_AR9565 0x0036 -+#define AR9300_DEVID_INVALID 0xabcd +@@ -34,6 +34,7 @@ - #define AR5416_AR9100_DEVID 0x000b + #define ATHEROS_VENDOR_ID 0x168c ++#define AR9300_DEVID_INVALID 0xabcd + #define AR5416_DEVID_PCI 0x0023 + #define AR5416_DEVID_PCIE 0x0024 + #define AR9160_DEVID_PCI 0x0027 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c -@@ -550,6 +550,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i +@@ -658,6 +658,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i { PCI_VDEVICE(ATHEROS, 0x0036), .driver_data = ATH9K_PCI_BT_ANT_DIV }, |