aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:54 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:54 -0400
commit761052e676372465fdeb97c148d5a4b0790fa8a0 (patch)
treec3befdb19fbb5a40f3f8f844a9185018746d9893 /drivers/ide/ppc
parent1823649b5abb77ffe638178bc5253249d3ecd17d (diff)
ide: remove ->INB, ->OUTB and ->OUTBSYNC methods
* Remove no longer needed ->INB, ->OUTB and ->OUTBSYNC methods. Then: * Remove no longer used default_hwif_[mm]iops() and ide_[mm_]outbsync(). * Cleanup SuperIO handling in ns87415.c. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r--drivers/ide/ppc/pmac.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index a0d66480a797..ed073c6635a8 100644
--- a/drivers/ide/ppc/pmac.c
+++ b/drivers/ide/ppc/pmac.c
@@ -486,15 +486,6 @@ pmac_ide_do_update_timings(ide_drive_t *drive)
486 pmac_ide_selectproc(drive); 486 pmac_ide_selectproc(drive);
487} 487}
488 488
489static void pmac_outbsync(ide_hwif_t *hwif, u8 value, unsigned long port)
490{
491 u32 tmp;
492
493 writeb(value, (void __iomem *) port);
494 tmp = readl((void __iomem *)(hwif->io_ports.data_addr
495 + IDE_TIMING_CONFIG));
496}
497
498static void pmac_exec_command(ide_hwif_t *hwif, u8 cmd) 489static void pmac_exec_command(ide_hwif_t *hwif, u8 cmd)
499{ 490{
500 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr); 491 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr);
@@ -1118,10 +1109,6 @@ static int __devinit pmac_ide_setup_device(pmac_ide_hwif_t *pmif, hw_regs_t *hw)
1118 hwif->exec_command = pmac_exec_command; 1109 hwif->exec_command = pmac_exec_command;
1119 hwif->set_irq = pmac_set_irq; 1110 hwif->set_irq = pmac_set_irq;
1120 1111
1121 /* Setup MMIO ops */
1122 default_hwif_mmiops(hwif);
1123 hwif->OUTBSYNC = pmac_outbsync;
1124
1125 idx[0] = hwif->index; 1112 idx[0] = hwif->index;
1126 1113
1127 ide_device_add(idx, &d, hws); 1114 ide_device_add(idx, &d, hws);