Root/target/linux/brcm-2.4/patches/006-ide_workaround.patch

1--- a/arch/mips/lib/ide-std.c
2+++ b/arch/mips/lib/ide-std.c
3@@ -31,12 +31,14 @@ static int std_ide_default_irq(ide_ioreg
4 static ide_ioreg_t std_ide_default_io_base(int index)
5 {
6     switch (index) {
7+#if 0
8         case 0: return 0x1f0;
9         case 1: return 0x170;
10         case 2: return 0x1e8;
11         case 3: return 0x168;
12         case 4: return 0x1e0;
13         case 5: return 0x160;
14+#endif
15         default:
16             return 0;
17     }
18

Archive Download this file



interactive