diff options
| -rw-r--r-- | include/asm-powerpc/ide.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/asm-powerpc/ide.h b/include/asm-powerpc/ide.h index 262def6a9f0a..1aaf27be8741 100644 --- a/include/asm-powerpc/ide.h +++ b/include/asm-powerpc/ide.h | |||
| @@ -32,16 +32,6 @@ static __inline__ int ide_default_irq(unsigned long base) | |||
| 32 | case 0x170: return 15; | 32 | case 0x170: return 15; |
| 33 | } | 33 | } |
| 34 | #endif | 34 | #endif |
| 35 | #ifdef CONFIG_PPC_PREP | ||
| 36 | switch (base) { | ||
| 37 | case 0x1f0: return 13; | ||
| 38 | case 0x170: return 13; | ||
| 39 | case 0x1e8: return 11; | ||
| 40 | case 0x168: return 10; | ||
| 41 | case 0xfff0: return 14; /* MCP(N)750 ide0 */ | ||
| 42 | case 0xffe0: return 15; /* MCP(N)750 ide1 */ | ||
| 43 | } | ||
| 44 | #endif | ||
| 45 | return 0; | 35 | return 0; |
| 46 | } | 36 | } |
| 47 | 37 | ||
| @@ -54,14 +44,6 @@ static __inline__ unsigned long ide_default_io_base(int index) | |||
| 54 | case 1: return 0x170; | 44 | case 1: return 0x170; |
| 55 | } | 45 | } |
| 56 | #endif | 46 | #endif |
| 57 | #ifdef CONFIG_PPC_PREP | ||
| 58 | switch (index) { | ||
| 59 | case 0: return 0x1f0; | ||
| 60 | case 1: return 0x170; | ||
| 61 | case 2: return 0x1e8; | ||
| 62 | case 3: return 0x168; | ||
| 63 | } | ||
| 64 | #endif | ||
| 65 | return 0; | 47 | return 0; |
| 66 | } | 48 | } |
| 67 | 49 | ||
