This series of patches closes the support gap on one of the explicitly
[openwrt/svn-archive/archive.git] / target / linux / brcm-2.4 / patches / 006-ide_workaround.patch
1 Index: linux-2.4.35.4/arch/mips/lib/ide-std.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/arch/mips/lib/ide-std.c
4 +++ linux-2.4.35.4/arch/mips/lib/ide-std.c
5 @@ -31,12 +31,14 @@ static int std_ide_default_irq(ide_ioreg
6 static ide_ioreg_t std_ide_default_io_base(int index)
7 {
8 switch (index) {
9 +#if 0
10 case 0: return 0x1f0;
11 case 1: return 0x170;
12 case 2: return 0x1e8;
13 case 3: return 0x168;
14 case 4: return 0x1e0;
15 case 5: return 0x160;
16 +#endif
17 default:
18 return 0;
19 }