aboutsummaryrefslogtreecommitdiffstats
path: root/package/rt2500/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-12-30 02:42:12 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-12-30 02:42:12 +0000
commit134aed0662edc6e165d5460b9efd7666b3bc2a99 (patch)
tree6c756d6281461338e576b3388eecb51899ea1c27 /package/rt2500/patches
parent8d42c41adaaa48483a4b16941563fe15516fc716 (diff)
downloadupstream-134aed0662edc6e165d5460b9efd7666b3bc2a99.tar.gz
upstream-134aed0662edc6e165d5460b9efd7666b3bc2a99.tar.bz2
upstream-134aed0662edc6e165d5460b9efd7666b3bc2a99.zip
Add rt2500 as a kernel package, with pci id fix to make the latest a/b/g card be recognized
SVN-Revision: 5932
Diffstat (limited to 'package/rt2500/patches')
-rw-r--r--package/rt2500/patches/01-rt2561t.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/rt2500/patches/01-rt2561t.patch b/package/rt2500/patches/01-rt2561t.patch
new file mode 100644
index 0000000000..8bdb623b51
--- /dev/null
+++ b/package/rt2500/patches/01-rt2561t.patch
@@ -0,0 +1,31 @@
+diff -urN rt2500-1.1.0-b4/Module/rt_config.h rt2500-1.1.0-b4.new/Module/rt_config.h
+--- rt2500-1.1.0-b4/Module/rt_config.h 2006-06-17 22:12:58.000000000 +0200
++++ rt2500-1.1.0-b4.new/Module/rt_config.h 2006-12-30 02:56:30.000000000 +0100
+@@ -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
+diff -urN rt2500-1.1.0-b4/Module/rtmp_main.c rt2500-1.1.0-b4.new/Module/rtmp_main.c
+--- rt2500-1.1.0-b4/Module/rtmp_main.c 2006-06-17 22:12:58.000000000 +0200
++++ rt2500-1.1.0-b4.new/Module/rtmp_main.c 2006-12-30 02:56:01.000000000 +0100
+@@ -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);