aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci')
-rw-r--r--drivers/ide/pci/alim15x3.c1
-rw-r--r--drivers/ide/pci/hpt366.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c
index fcd0222ca477..fbb55fa2d067 100644
--- a/drivers/ide/pci/alim15x3.c
+++ b/drivers/ide/pci/alim15x3.c
@@ -734,7 +734,6 @@ static void __devinit init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase)
734{ 734{
735 if (!hwif->channel) 735 if (!hwif->channel)
736 outb(inb(dmabase + 2) & 0x60, dmabase + 2); 736 outb(inb(dmabase + 2) & 0x60, dmabase + 2);
737 ide_setup_dma(hwif, dmabase);
738} 737}
739 738
740static const struct ide_port_ops ali_port_ops = { 739static const struct ide_port_ops ali_port_ops = {
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
index 0f313f54fc27..df45098157f6 100644
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -1348,8 +1348,6 @@ static void __devinit init_dma_hpt366(ide_hwif_t *hwif, unsigned long dmabase)
1348 outb(dma_new, dmabase + 2); 1348 outb(dma_new, dmabase + 2);
1349 1349
1350 local_irq_restore(flags); 1350 local_irq_restore(flags);
1351
1352 ide_setup_dma(hwif, dmabase);
1353} 1351}
1354 1352
1355static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) 1353static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2)