aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-01-30 13:21:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-01-30 13:21:36 +0000
commit9130ba35ea4e3c09ead64a7f5eb57aaf5b0694a6 (patch)
tree5f1204562d95c9f8f15137504a36ba3ded669320 /package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch
parentfdd820a54af9158b95ecfbb2209d6f3a934cf265 (diff)
downloadmaster-187ad058-9130ba35ea4e3c09ead64a7f5eb57aaf5b0694a6.tar.gz
master-187ad058-9130ba35ea4e3c09ead64a7f5eb57aaf5b0694a6.tar.bz2
master-187ad058-9130ba35ea4e3c09ead64a7f5eb57aaf5b0694a6.zip
mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39427 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch28
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 cae555a4ba..806865052f 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 },