Commit a1510210 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Ensure sl82c105 IDE interfaces are serialized when using DMA

We don't want to reset the DMA state machine while the other
channel is in use.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent da2660d2
...@@ -465,6 +465,9 @@ static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif) ...@@ -465,6 +465,9 @@ static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif)
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;
if (hwif->mate)
hwif->serialized = hwif->mate->serialized = 1;
#endif /* CONFIG_BLK_DEV_IDEDMA */ #endif /* CONFIG_BLK_DEV_IDEDMA */
} }
hwif->OUTB(dma_state, hwif->dma_base + 2); hwif->OUTB(dma_state, hwif->dma_base + 2);
......
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