large target/linux cleanup
[openwrt-10.03/.git] / target / linux / brcm-2.4 / patches / 006-ide_workaround.patch
1 diff -urN linux.old/arch/mips/lib/ide-std.c linux.dev/arch/mips/lib/ide-std.c
2 --- linux.old/arch/mips/lib/ide-std.c   2003-08-25 13:44:40.000000000 +0200
3 +++ linux.dev/arch/mips/lib/ide-std.c   2005-08-12 23:55:23.886963936 +0200
4 @@ -31,12 +31,14 @@
5  static ide_ioreg_t std_ide_default_io_base(int index)
6  {
7         switch (index) {
8 +#if 0
9                 case 0: return 0x1f0;
10                 case 1: return 0x170;
11                 case 2: return 0x1e8;
12                 case 3: return 0x168;
13                 case 4: return 0x1e0;
14                 case 5: return 0x160;
15 +#endif
16                 default:
17                         return 0;
18         }