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