diff options
Diffstat (limited to 'drivers/ide/pci/piix.c')
-rw-r--r-- | drivers/ide/pci/piix.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c index c50ae3ab2e64..a8dd0c0add35 100644 --- a/drivers/ide/pci/piix.c +++ b/drivers/ide/pci/piix.c | |||
@@ -384,8 +384,6 @@ static void __devinit init_hwif_piix(ide_hwif_t *hwif) | |||
384 | return; | 384 | return; |
385 | } | 385 | } |
386 | 386 | ||
387 | hwif->autodma = 0; | ||
388 | |||
389 | hwif->set_pio_mode = &piix_set_pio_mode; | 387 | hwif->set_pio_mode = &piix_set_pio_mode; |
390 | hwif->set_dma_mode = &piix_set_dma_mode; | 388 | hwif->set_dma_mode = &piix_set_dma_mode; |
391 | 389 | ||
@@ -412,12 +410,6 @@ static void __devinit init_hwif_piix(ide_hwif_t *hwif) | |||
412 | 410 | ||
413 | if (no_piix_dma) | 411 | if (no_piix_dma) |
414 | hwif->ultra_mask = hwif->mwdma_mask = hwif->swdma_mask = 0; | 412 | hwif->ultra_mask = hwif->mwdma_mask = hwif->swdma_mask = 0; |
415 | |||
416 | if (!noautodma) | ||
417 | hwif->autodma = 1; | ||
418 | |||
419 | hwif->drives[1].autodma = hwif->autodma; | ||
420 | hwif->drives[0].autodma = hwif->autodma; | ||
421 | } | 413 | } |
422 | 414 | ||
423 | #define DECLARE_PIIX_DEV(name_str, udma) \ | 415 | #define DECLARE_PIIX_DEV(name_str, udma) \ |