1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-21 02:36:47 +02:00
openwrt-xburst/target/linux/linux-2.4/patches/brcm/006-ide_workaround.patch

19 lines
518 B
Diff
Raw Normal View History

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