diff options
Diffstat (limited to 'include/asm-sh/ide.h')
-rw-r--r-- | include/asm-sh/ide.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/include/asm-sh/ide.h b/include/asm-sh/ide.h index b9b3efcb4..95a385596 100644 --- a/include/asm-sh/ide.h +++ b/include/asm-sh/ide.h @@ -17,7 +17,7 @@ #include <linux/config.h> #ifndef MAX_HWIFS -#define MAX_HWIFS 10 +#define MAX_HWIFS 1 /* XXX: For my board -- gniibe */ #endif #define ide__sti() __sti() @@ -25,12 +25,8 @@ static __inline__ int ide_default_irq(ide_ioreg_t base) { switch (base) { - case 0x1f0: return 14; - case 0x170: return 15; - case 0x1e8: return 11; - case 0x168: return 10; - case 0x1e0: return 8; - case 0x160: return 12; + case 0xba0001f0: return 14; + case 0xba000170: return 14; default: return 0; } @@ -39,12 +35,10 @@ static __inline__ int ide_default_irq(ide_ioreg_t base) static __inline__ ide_ioreg_t ide_default_io_base(int index) { switch (index) { - case 0: return 0x1f0; - case 1: return 0x170; - case 2: return 0x1e8; - case 3: return 0x168; - case 4: return 0x1e0; - case 5: return 0x160; + case 0: + return 0xba0001f0; + case 1: + return 0xba000170; default: return 0; } |