1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 15:05:12 +01:00
openwrt/target/linux/brcm-2.4/patches/006-ide_workaround.patch
Florian Fainelli cec852c087 update to 2.4.37, tested on wrt54gs (#4766)
SVN-Revision: 16144
2009-05-28 15:55:54 +00:00

18 lines
393 B
Diff

--- a/arch/mips/lib/ide-std.c
+++ b/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;
}