aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:32 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:32 -0400
commit1d850bd0b291efd1740b8d87ce025363436eb6dc (patch)
treee0bfb32a27b58074206ec02a455272054c899ca2 /drivers/ide/ide.c
parent5d682e4407d8364c286650baafcccae54d4b7c89 (diff)
ppc: remove ppc_ide_md
* Add special cases for pplus and prep to ide_default_{irq,io_base}() (+ FIXMEs about the need to use IDE platform host driver instead). * Remove no longer needed ppc_ide_md and struct ide_machdep_calls. * Then remove <linux/ide.h> include from: - arch/powerpc/kernel/setup_32.c - arch/ppc/kernel/ppc_ksyms.c - arch/ppc/kernel/setup.c - arch/ppc/platforms/pplus.c - arch/ppc/platforms/prep_setup.c There should be no functional changes caused by this patch. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 7e6418fe3a84..c2fb5c964a51 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -205,10 +205,6 @@ static void __init init_ide_data (void)
205#ifdef CONFIG_IDE_ARCH_OBSOLETE_INIT 205#ifdef CONFIG_IDE_ARCH_OBSOLETE_INIT
206 memset(&hw, 0, sizeof(hw)); 206 memset(&hw, 0, sizeof(hw));
207 ide_std_init_ports(&hw, io_addr, ctl_addr); 207 ide_std_init_ports(&hw, io_addr, ctl_addr);
208# ifdef CONFIG_PPC32
209 if (ppc_ide_md.ide_init_hwif)
210 ppc_ide_md.ide_init_hwif(&hw, io_addr, 0, &hwif->irq);
211# endif
212 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports)); 208 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports));
213#endif 209#endif
214 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; 210 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];