better lantiq support in madwifi
[openwrt/openwrt.git] / package / madwifi / patches / 353-devid.patch
1 --- a/ath/if_ath_pci.c
2 +++ b/ath/if_ath_pci.c
3 @@ -114,11 +114,15 @@ static struct pci_device_id ath_pci_id_t
4 { 0x168c, 0x0023, PCI_ANY_ID, PCI_ANY_ID },
5 { 0x168c, 0x0024, PCI_ANY_ID, PCI_ANY_ID },
6 { 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
7 + { 0x168c, 0xff16, PCI_ANY_ID, PCI_ANY_ID },
8 + { 0x168c, 0xff1a, PCI_ANY_ID, PCI_ANY_ID },
9 { 0 }
10 };
11
12 static u16 ath_devidmap[][2] = {
13 - { 0x9013, 0x0013 }
14 + { 0x9013, 0x0013 },
15 + { 0xff16, 0x0013 },
16 + { 0xff1a, 0x001a }
17 };
18
19 static int