aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-25 20:28:45 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-25 20:28:45 +0000
commit3dbb231574694154f5cffaa95d847a553f8c73e5 (patch)
tree3698d9577e572cadd9a421d5ab4d98399c5afad3 /package/kernel
parentf647d04afe488afd40c2fb31b17772258d28f220 (diff)
downloadupstream-3dbb231574694154f5cffaa95d847a553f8c73e5.tar.gz
upstream-3dbb231574694154f5cffaa95d847a553f8c73e5.tar.bz2
upstream-3dbb231574694154f5cffaa95d847a553f8c73e5.zip
mac8021: add ath9k pcie id for AR9381
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch36
1 files changed, 36 insertions, 0 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
new file mode 100644
index 0000000000..649c120ad3
--- /dev/null
+++ b/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch
@@ -0,0 +1,36 @@
+Index: compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/hw.c
+===================================================================
+--- compat-wireless-2013-06-27.orig/drivers/net/wireless/ath/ath9k/hw.c 2013-07-25 20:17:32.375285640 +0200
++++ compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/hw.c 2013-07-25 20:19:20.131288207 +0200
+@@ -729,6 +729,7 @@
+ case AR9300_DEVID_AR9462:
+ case AR9485_DEVID_AR1111:
+ case AR9300_DEVID_AR9565:
++ case AR9300_DEVID_AR9381:
+ break;
+ default:
+ if (common->bus_ops->ath_bus_type == ATH_USB)
+Index: compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/hw.h
+===================================================================
+--- compat-wireless-2013-06-27.orig/drivers/net/wireless/ath/ath9k/hw.h 2013-07-25 20:17:32.375285640 +0200
++++ compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/hw.h 2013-07-25 20:19:01.095287753 +0200
+@@ -52,6 +52,7 @@
+ #define AR9300_DEVID_QCA955X 0x0038
+ #define AR9485_DEVID_AR1111 0x0037
+ #define AR9300_DEVID_AR9565 0x0036
++#define AR9300_DEVID_AR9381 0xabcd
+
+ #define AR5416_AR9100_DEVID 0x000b
+
+Index: compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/pci.c
+===================================================================
+--- compat-wireless-2013-06-27.orig/drivers/net/wireless/ath/ath9k/pci.c 2013-06-30 16:34:53.000000000 +0200
++++ compat-wireless-2013-06-27/drivers/net/wireless/ath/ath9k/pci.c 2013-07-25 20:19:41.815288724 +0200
+@@ -139,6 +139,7 @@
+ { PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
+ { PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
+ { PCI_VDEVICE(ATHEROS, 0x0036) }, /* PCI-E AR9565 */
++ { PCI_VDEVICE(ATHEROS, 0xabcd) }, /* PCI-E AR9381 */
+ { 0 }
+ };
+