diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-07-20 11:44:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-07-20 11:44:14 +0000 |
commit | d53ff609b529518ee2b2a0127e7f6108bc05cf9a (patch) | |
tree | 985786dfbd96add43ea574e954f995303aea88dd /package/ath9k/patches/120-devid.patch | |
parent | 12d206d9eb10efc2fd1b25816ff7314fa4b24089 (diff) | |
download | upstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.tar.gz upstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.tar.bz2 upstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.zip |
add the new ath9k driver (loads successfully on an AR9160 card, but still seems to have some rf issues)
SVN-Revision: 11884
Diffstat (limited to 'package/ath9k/patches/120-devid.patch')
-rw-r--r-- | package/ath9k/patches/120-devid.patch | 23 |
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 0000000000..d9999f262e --- /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); |