diff options
Diffstat (limited to 'drivers/ide/pci/opti621.c')
-rw-r--r-- | drivers/ide/pci/opti621.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index aa8b6c510d2e..250662ea18ad 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -328,7 +328,6 @@ static void opti621_set_pio_mode(ide_drive_t *drive, const u8 pio) | |||
328 | */ | 328 | */ |
329 | static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) | 329 | static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) |
330 | { | 330 | { |
331 | hwif->autodma = 0; | ||
332 | hwif->drives[0].drive_data = PIO_DONT_KNOW; | 331 | hwif->drives[0].drive_data = PIO_DONT_KNOW; |
333 | hwif->drives[1].drive_data = PIO_DONT_KNOW; | 332 | hwif->drives[1].drive_data = PIO_DONT_KNOW; |
334 | 333 | ||
@@ -340,11 +339,6 @@ static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) | |||
340 | hwif->atapi_dma = 1; | 339 | hwif->atapi_dma = 1; |
341 | hwif->mwdma_mask = 0x07; | 340 | hwif->mwdma_mask = 0x07; |
342 | hwif->swdma_mask = 0x07; | 341 | hwif->swdma_mask = 0x07; |
343 | |||
344 | if (!noautodma) | ||
345 | hwif->autodma = 1; | ||
346 | hwif->drives[0].autodma = hwif->autodma; | ||
347 | hwif->drives[1].autodma = hwif->autodma; | ||
348 | } | 342 | } |
349 | 343 | ||
350 | static ide_pci_device_t opti621_chipsets[] __devinitdata = { | 344 | static ide_pci_device_t opti621_chipsets[] __devinitdata = { |