From ac598950402078d90ec1827e2992056c384c8ba4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 Oct 2010 12:28:51 +0000 Subject: [PATCH] madwifi: remove device ids for AR5416 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23730 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/472-remove_11n_devids.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/madwifi/patches/472-remove_11n_devids.patch diff --git a/package/madwifi/patches/472-remove_11n_devids.patch b/package/madwifi/patches/472-remove_11n_devids.patch new file mode 100644 index 0000000000..cf80f06bf6 --- /dev/null +++ b/package/madwifi/patches/472-remove_11n_devids.patch @@ -0,0 +1,20 @@ +--- a/ath/if_ath_pci.c ++++ b/ath/if_ath_pci.c +@@ -111,8 +111,6 @@ static struct pci_device_id ath_pci_id_t + { 0x168c, 0x001b, PCI_ANY_ID, PCI_ANY_ID }, + { 0x168c, 0x001c, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express 5424 */ + { 0x168c, 0x001d, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express ??? */ +- { 0x168c, 0x0023, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x168c, 0x0024, PCI_ANY_ID, PCI_ANY_ID }, + { 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */ + { 0x168c, 0xff1a, PCI_ANY_ID, PCI_ANY_ID }, + { 0 } +@@ -146,8 +144,6 @@ static const struct ath_hw_detect cards[ + { ubnt, "SR4C", 0x168c, 0x0013, 0x7777, 0x1004, 6 }, + { ubnt, "SR5", 0x168c, 0x0013, 0x168c, 0x2042, 7 }, + { ubnt, "SR9", 0x168c, 0x0013, 0x7777, 0x2009, 12 }, +- { ubnt, "SR71A", 0x168c, 0x0027, 0x168c, 0x2082, 10 }, +- { ubnt, "SR71", 0x168c, 0x0027, 0x0777, 0x4082, 10 }, + }; + + static int