summaryrefslogtreecommitdiffstats
path: root/package/ath9k/patches/120-devid.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-20 11:44:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-20 11:44:14 +0000
commiteca83c696ef5d2dd9b319e99e003caa7687e8088 (patch)
tree2c25348dc60e9617de004d32d58f386a89a737f9 /package/ath9k/patches/120-devid.patch
parent674a7327b3c9e7af5f8e94b53b1661c38143ef21 (diff)
add the new ath9k driver (loads successfully on an AR9160 card, but still seems to have some rf issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11884 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ath9k/patches/120-devid.patch')
-rw-r--r--package/ath9k/patches/120-devid.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/ath9k/patches/120-devid.patch b/package/ath9k/patches/120-devid.patch
new file mode 100644
index 000000000..d9999f262
--- /dev/null
+++ b/package/ath9k/patches/120-devid.patch
@@ -0,0 +1,23 @@
+Add missing device ID for AR9160
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+
+--- a/drivers/net/wireless/ath9k/hw.c
++++ b/drivers/net/wireless/ath9k/hw.c
+@@ -8329,6 +8329,8 @@
+ case AR5416_DEVID_PCI:
+ case AR5416_DEVID_PCIE:
+ return "Atheros 5416";
++ case AR9160_DEVID_PCI:
++ return "Atheros 9160";
+ case AR9280_DEVID_PCI:
+ case AR9280_DEVID_PCIE:
+ return "Atheros 9280";
+@@ -8350,6 +8352,7 @@
+ switch (devid) {
+ case AR5416_DEVID_PCI:
+ case AR5416_DEVID_PCIE:
++ case AR9160_DEVID_PCI:
+ case AR9280_DEVID_PCI:
+ case AR9280_DEVID_PCIE:
+ ah = ath9k_hw_do_attach(devid, sc, mem, error);