diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 26997648bf00..f8fc9727da07 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -361,11 +361,10 @@ void ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d) | |||
361 | } | 361 | } |
362 | } | 362 | } |
363 | if (dma_base) { | 363 | if (dma_base) { |
364 | if (d->init_dma) { | 364 | if (d->init_dma) |
365 | d->init_dma(hwif, dma_base); | 365 | d->init_dma(hwif, dma_base); |
366 | } else { | 366 | |
367 | ide_setup_dma(hwif, dma_base); | 367 | ide_setup_dma(hwif, dma_base); |
368 | } | ||
369 | } else { | 368 | } else { |
370 | printk(KERN_INFO "%s: %s Bus-Master DMA disabled " | 369 | printk(KERN_INFO "%s: %s Bus-Master DMA disabled " |
371 | "(BIOS)\n", hwif->name, d->name); | 370 | "(BIOS)\n", hwif->name, d->name); |