diff options
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 21b41436ae4a..e1d2337a9f1d 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -312,8 +312,6 @@ static void __devinit init_hwif_pdc202xx(ide_hwif_t *hwif) | |||
312 | (dev->device == PCI_DEVICE_ID_PROMISE_20265)) | 312 | (dev->device == PCI_DEVICE_ID_PROMISE_20265)) |
313 | hwif->rqsize = 256; | 313 | hwif->rqsize = 256; |
314 | 314 | ||
315 | hwif->autodma = 0; | ||
316 | |||
317 | hwif->set_pio_mode = &pdc202xx_set_pio_mode; | 315 | hwif->set_pio_mode = &pdc202xx_set_pio_mode; |
318 | hwif->set_dma_mode = &pdc202xx_set_mode; | 316 | hwif->set_dma_mode = &pdc202xx_set_mode; |
319 | 317 | ||
@@ -345,10 +343,6 @@ static void __devinit init_hwif_pdc202xx(ide_hwif_t *hwif) | |||
345 | hwif->ide_dma_end = &pdc202xx_old_ide_dma_end; | 343 | hwif->ide_dma_end = &pdc202xx_old_ide_dma_end; |
346 | } | 344 | } |
347 | hwif->ide_dma_test_irq = &pdc202xx_old_ide_dma_test_irq; | 345 | hwif->ide_dma_test_irq = &pdc202xx_old_ide_dma_test_irq; |
348 | |||
349 | if (!noautodma) | ||
350 | hwif->autodma = 1; | ||
351 | hwif->drives[0].autodma = hwif->drives[1].autodma = hwif->autodma; | ||
352 | } | 346 | } |
353 | 347 | ||
354 | static void __devinit init_dma_pdc202xx(ide_hwif_t *hwif, unsigned long dmabase) | 348 | static void __devinit init_dma_pdc202xx(ide_hwif_t *hwif, unsigned long dmabase) |