1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 13:32:48 +02:00
openwrt-xburst/target/linux/brcm-2.4/patches/006-ide_workaround.patch
juhosg 5591c13267 [brcm-2.4] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 13:45:06 +00:00

20 lines
538 B
Diff

Index: linux-2.4.35.4/arch/mips/lib/ide-std.c
===================================================================
--- linux-2.4.35.4.orig/arch/mips/lib/ide-std.c
+++ linux-2.4.35.4/arch/mips/lib/ide-std.c
@@ -31,12 +31,14 @@ static int std_ide_default_irq(ide_ioreg
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;
}