add workaround for occasional kernel module build failures related to kernel config...
[openwrt.git] / package / rt2500 / patches / 001-rt2561t.patch
1 diff -urN rt2500-1.1.0-b4/Module/rt_config.h rt2500-1.1.0-b4.new/Module/rt_config.h
2 --- rt2500-1.1.0-b4/Module/rt_config.h 2006-06-17 22:12:58.000000000 +0200
3 +++ rt2500-1.1.0-b4.new/Module/rt_config.h 2006-12-30 02:56:30.000000000 +0100
4 @@ -55,7 +55,7 @@
5 #error You must compile this driver with "-O".
6 #endif
7
8 -#include <linux/config.h> //can delete
9 +#include <linux/autoconf.h> //can delete
10 #include <linux/module.h>
11 #include <linux/version.h>
12 #include <linux/kernel.h>
13 @@ -154,6 +154,7 @@
14
15 enum rt2560_chips {
16 RT2560A = 0,
17 + RT2561T = 0,
18 };
19
20 #ifdef RTMP_EMBEDDED
21 diff -urN rt2500-1.1.0-b4/Module/rtmp_main.c rt2500-1.1.0-b4.new/Module/rtmp_main.c
22 --- rt2500-1.1.0-b4/Module/rtmp_main.c 2006-06-17 22:12:58.000000000 +0200
23 +++ rt2500-1.1.0-b4.new/Module/rtmp_main.c 2006-12-30 02:56:01.000000000 +0100
24 @@ -975,6 +975,7 @@
25 static struct pci_device_id rt2500_pci_tbl[] __devinitdata =
26 {
27 {0x1814, 0x0201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RT2560A},
28 + {0x1814, 0x0301, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RT2561T},
29 {0,} /* terminate list */
30 };
31 MODULE_DEVICE_TABLE(pci, rt2500_pci_tbl);
This page took 0.048359 seconds and 5 git commands to generate.