aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/via82cxxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/via82cxxx.c')
-rw-r--r--drivers/ide/pci/via82cxxx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c
index 5f13f3a23f15..bf9957fe21a8 100644
--- a/drivers/ide/pci/via82cxxx.c
+++ b/drivers/ide/pci/via82cxxx.c
@@ -425,8 +425,6 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif)
425 struct via82cxxx_dev *vdev = pci_get_drvdata(hwif->pci_dev); 425 struct via82cxxx_dev *vdev = pci_get_drvdata(hwif->pci_dev);
426 int i; 426 int i;
427 427
428 hwif->autodma = 0;
429
430 hwif->set_pio_mode = &via_set_pio_mode; 428 hwif->set_pio_mode = &via_set_pio_mode;
431 hwif->set_dma_mode = &via_set_drive; 429 hwif->set_dma_mode = &via_set_drive;
432 430
@@ -454,11 +452,6 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif)
454 452
455 if (hwif->cbl != ATA_CBL_PATA40_SHORT) 453 if (hwif->cbl != ATA_CBL_PATA40_SHORT)
456 hwif->cbl = via82cxxx_cable_detect(hwif); 454 hwif->cbl = via82cxxx_cable_detect(hwif);
457
458 if (!noautodma)
459 hwif->autodma = 1;
460 hwif->drives[0].autodma = hwif->autodma;
461 hwif->drives[1].autodma = hwif->autodma;
462} 455}
463 456
464static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { 457static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = {