refresh all package patches in the buildroot using quilt
[openwrt.git] / package / rt2500 / patches / 001-rt2561t.patch
1 Index: rt2500-1.1.0-b4/Module/rt_config.h
2 ===================================================================
3 --- rt2500-1.1.0-b4.orig/Module/rt_config.h     2007-06-04 13:22:53.001797784 +0200
4 +++ rt2500-1.1.0-b4/Module/rt_config.h  2007-06-04 13:22:53.074786688 +0200
5 @@ -55,7 +55,7 @@
6  #error  You must compile this driver with "-O".
7  #endif
8  
9 -#include <linux/config.h>  //can delete
10 +#include <linux/autoconf.h>  //can delete
11  #include <linux/module.h>
12  #include <linux/version.h>
13  #include <linux/kernel.h>
14 @@ -154,6 +154,7 @@
15  
16  enum rt2560_chips {
17      RT2560A = 0,
18 +    RT2561T = 0,
19  };
20  
21  #ifdef RTMP_EMBEDDED
22 Index: rt2500-1.1.0-b4/Module/rtmp_main.c
23 ===================================================================
24 --- rt2500-1.1.0-b4.orig/Module/rtmp_main.c     2007-06-04 13:22:53.008796720 +0200
25 +++ rt2500-1.1.0-b4/Module/rtmp_main.c  2007-06-04 13:22:53.074786688 +0200
26 @@ -975,6 +975,7 @@
27  static struct pci_device_id rt2500_pci_tbl[] __devinitdata =
28  {
29      {0x1814, 0x0201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RT2560A},
30 +    {0x1814, 0x0301, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RT2561T},
31      {0,}                                /* terminate list */
32  };
33  MODULE_DEVICE_TABLE(pci, rt2500_pci_tbl);