Skip to content

Commit

Permalink
ide-generic: remove broken PPC_PREP support
Browse files Browse the repository at this point in the history
PPC_PREP has been depending on BROKEN for some time now.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 24, 2008
1 parent d83b8b8 commit ffed0b6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions include/asm-powerpc/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ static __inline__ int ide_default_irq(unsigned long base)
case 0x1f0: return 14;
case 0x170: return 15;
}
#endif
#ifdef CONFIG_PPC_PREP
switch (base) {
case 0x1f0: return 13;
case 0x170: return 13;
case 0x1e8: return 11;
case 0x168: return 10;
case 0xfff0: return 14; /* MCP(N)750 ide0 */
case 0xffe0: return 15; /* MCP(N)750 ide1 */
}
#endif
return 0;
}
Expand All @@ -53,14 +43,6 @@ static __inline__ unsigned long ide_default_io_base(int index)
case 0: return 0x1f0;
case 1: return 0x170;
}
#endif
#ifdef CONFIG_PPC_PREP
switch (index) {
case 0: return 0x1f0;
case 1: return 0x170;
case 2: return 0x1e8;
case 3: return 0x168;
}
#endif
return 0;
}
Expand Down

0 comments on commit ffed0b6

Please sign in to comment.