summaryrefslogtreecommitdiff
path: root/package/rt2500/patches/001-rt2561t.patch
blob: 5b834325808425b30c714e0dd3601003ce86674d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -urN rt2500-cvs-2007061115.new/Module/rt_config.h rt2500-cvs-2007061115/Module/rt_config.h
--- rt2500-cvs-2007061115.new/Module/rt_config.h	2007-06-11 22:35:28.000000000 +0200
+++ rt2500-cvs-2007061115/Module/rt_config.h	2007-06-11 22:57:31.000000000 +0200
@@ -153,6 +153,7 @@
 
 enum rt2560_chips {
     RT2560A = 0,
+    RT2561T = 0,
 };
 
 #if 1				//#ifdef RTMP_EMBEDDED
diff -urN rt2500-cvs-2007061115.new/Module/rtmp_main.c rt2500-cvs-2007061115/Module/rtmp_main.c
--- rt2500-cvs-2007061115.new/Module/rtmp_main.c	2007-05-29 05:49:17.000000000 +0200
+++ rt2500-cvs-2007061115/Module/rtmp_main.c	2007-06-11 22:57:13.000000000 +0200
@@ -1041,6 +1041,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);