wifipineapple-openwrt/package/rt2500/patches/001-rt2561t.patch

23 lines
962 B
Diff
Raw Normal View History

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);