Commit e70156eb authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] clean up opti ide for new ifdef stuff

parent a69dd84e
...@@ -343,13 +343,10 @@ static void __init init_hwif_opti621 (ide_hwif_t *hwif) ...@@ -343,13 +343,10 @@ static void __init init_hwif_opti621 (ide_hwif_t *hwif)
hwif->mwdma_mask = 0x07; hwif->mwdma_mask = 0x07;
hwif->swdma_mask = 0x07; hwif->swdma_mask = 0x07;
#ifdef CONFIG_BLK_DEV_IDEDMA
if (!noautodma) if (!noautodma)
hwif->autodma = 1; hwif->autodma = 1;
hwif->drives[0].autodma = hwif->autodma; hwif->drives[0].autodma = hwif->autodma;
hwif->drives[1].autodma = hwif->autodma; hwif->drives[1].autodma = hwif->autodma;
#endif /* CONFIG_BLK_DEV_IDEDMA */
} }
static void __init init_dma_opti621 (ide_hwif_t *hwif, unsigned long dmabase) static void __init init_dma_opti621 (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