make atheros wifi cards used on arcaydian 4519 ifxmips based boards work
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 353-devid.patch
1 Index: madwifi-trunk-r3314/ath/if_ath_pci.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath_pci.c 2008-07-06 01:38:57.000000000 +0200
4 +++ madwifi-trunk-r3314/ath/if_ath_pci.c 2008-07-06 01:52:09.000000000 +0200
5 @@ -114,11 +114,13 @@
6 { 0x168c, 0x0023, PCI_ANY_ID, PCI_ANY_ID },
7 { 0x168c, 0x0024, PCI_ANY_ID, PCI_ANY_ID },
8 { 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
9 + { 0x168c, 0xff1a, PCI_ANY_ID, PCI_ANY_ID },
10 { 0 }
11 };
12
13 static u16 ath_devidmap[][2] = {
14 - { 0x9013, 0x0013 }
15 + { 0x9013, 0x0013 },
16 + { 0xff1a, 0x001a }
17 };
18
19 static int