Commit 6ce90957 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] clean up generic IDE dma for new ifdefs

parent df9aff6b
......@@ -50,12 +50,10 @@ static void __init init_hwif_generic (ide_hwif_t *hwif)
hwif->mwdma_mask = 0x07;
hwif->swdma_mask = 0x07;
#ifdef CONFIG_BLK_DEV_IDEDMA
if (!noautodma)
hwif->autodma = 1;
hwif->drives[0].autodma = hwif->autodma;
hwif->drives[1].autodma = hwif->autodma;
#endif /* CONFIG_BLK_DEV_IDEDMA */
}
static void init_dma_generic (ide_hwif_t *hwif, unsigned long dmabase)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment