summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/linux-2.4/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-12 22:15:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-12 22:15:15 +0000
commit33b8a39eec4e326006fa2a0c4ba693b72200ed24 (patch)
treebe460ed9f274102424c56988e71f7f8024b80c20 /openwrt/target/linux/linux-2.4/patches
parent3117161eb332e203eeb84dacdcb6b0412fd55e8f (diff)
fix ide support on wl-hdd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1615 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/linux-2.4/patches')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/brcm/006-ide_workaround.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/brcm/006-ide_workaround.patch b/openwrt/target/linux/linux-2.4/patches/brcm/006-ide_workaround.patch
new file mode 100644
index 000000000..9f8d2ee29
--- /dev/null
+++ b/openwrt/target/linux/linux-2.4/patches/brcm/006-ide_workaround.patch
@@ -0,0 +1,18 @@
+diff -urN linux.old/arch/mips/lib/ide-std.c linux.dev/arch/mips/lib/ide-std.c
+--- linux.old/arch/mips/lib/ide-std.c 2003-08-25 13:44:40.000000000 +0200
++++ linux.dev/arch/mips/lib/ide-std.c 2005-08-12 23:55:23.886963936 +0200
+@@ -31,12 +31,14 @@
+ static ide_ioreg_t std_ide_default_io_base(int index)
+ {
+ switch (index) {
++#if 0
+ case 0: return 0x1f0;
+ case 1: return 0x170;
+ case 2: return 0x1e8;
+ case 3: return 0x168;
+ case 4: return 0x1e0;
+ case 5: return 0x160;
++#endif
+ default:
+ return 0;
+ }