aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-12 12:45:45 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-12 12:45:45 -0500
commita1510210c45c9af5784d64596c7025997e1add7d (patch)
tree74e6e944ec26b62a61c159934f4425604c57123d /drivers/ide
parentda2660d2c40496b1699c4de652f6d0cfd13937c0 (diff)
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/pci/sl82c105.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c
index 6466db5f0170..8a5c7b286b2b 100644
--- a/drivers/ide/pci/sl82c105.c
+++ b/drivers/ide/pci/sl82c105.c
@@ -465,6 +465,9 @@ static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif)
465 hwif->autodma = 1; 465 hwif->autodma = 1;
466 hwif->drives[0].autodma = hwif->autodma; 466 hwif->drives[0].autodma = hwif->autodma;
467 hwif->drives[1].autodma = hwif->autodma; 467 hwif->drives[1].autodma = hwif->autodma;
468
469 if (hwif->mate)
470 hwif->serialized = hwif->mate->serialized = 1;
468#endif /* CONFIG_BLK_DEV_IDEDMA */ 471#endif /* CONFIG_BLK_DEV_IDEDMA */
469 } 472 }
470 hwif->OUTB(dma_state, hwif->dma_base + 2); 473 hwif->OUTB(dma_state, hwif->dma_base + 2);