aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
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/pci/scc_pata.c
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/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index c110f359b03e..38765d9b0314 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -188,14 +188,6 @@ static void scc_ide_outb(u8 addr, unsigned long port)
188 out_be32((void*)port, addr); 188 out_be32((void*)port, addr);
189} 189}
190 190
191static void scc_ide_outbsync(ide_hwif_t *hwif, u8 addr, unsigned long port)
192{
193 out_be32((void*)port, addr);
194 eieio();
195 in_be32((void*)(hwif->dma_base + 0x01c));
196 eieio();
197}
198
199static void 191static void
200scc_ide_outsw(unsigned long port, void *addr, u32 count) 192scc_ide_outsw(unsigned long port, void *addr, u32 count)
201{ 193{
@@ -829,10 +821,6 @@ static void __devinit init_mmio_iops_scc(ide_hwif_t *hwif)
829 hwif->input_data = scc_input_data; 821 hwif->input_data = scc_input_data;
830 hwif->output_data = scc_output_data; 822 hwif->output_data = scc_output_data;
831 823
832 hwif->INB = scc_ide_inb;
833 hwif->OUTB = scc_ide_outb;
834 hwif->OUTBSYNC = scc_ide_outbsync;
835
836 hwif->dma_base = dma_base; 824 hwif->dma_base = dma_base;
837 hwif->config_data = ports->ctl; 825 hwif->config_data = ports->ctl;
838} 826}