Commit 4a59db4e authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] pdc202xx_old.c: fix PIO autotuning

This fixes bugzilla bug #1431.

Always tune controller PIO timings.  This fixes lockup during PIO access
(ie. 'cat /proc/ide/hda/identify') when Promise BIOS is disabled.
parent e5392b30
...@@ -757,10 +757,7 @@ static void __init init_hwif_pdc202xx (ide_hwif_t *hwif) ...@@ -757,10 +757,7 @@ static void __init init_hwif_pdc202xx (ide_hwif_t *hwif)
hwif->speedproc = &pdc202xx_tune_chipset; hwif->speedproc = &pdc202xx_tune_chipset;
if (!hwif->dma_base) { hwif->drives[0].autotune = hwif->drives[1].autotune = 1;
hwif->drives[0].autotune = hwif->drives[1].autotune = 1;
return;
}
hwif->ultra_mask = 0x3f; hwif->ultra_mask = 0x3f;
hwif->mwdma_mask = 0x07; hwif->mwdma_mask = 0x07;
......
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