Skip to contentSkip to conversation

cs5520: fix PIO auto-tuning in ->ide_dma_check method

PATCH In review Bartlomiej Zolnierkiewicz 2 participants 3 messages Jul 8, 2007 – Jul 10, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 3/12 cs5520: fix PIO auto-tuning in ->ide_dma_check method

---
 drivers/ide/pci/cs5520.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/pci/cs5520.c +1 -1
Index: b/drivers/ide/pci/cs5520.c
===================================================================
@@ -133,7 +133,7 @@ static void cs5520_tune_drive(ide_drive_
 static int cs5520_config_drive_xfer_rate(ide_drive_t *drive)
 {
 	/* Tune the drive for PIO modes up to PIO 4 */	
-	cs5520_tune_drive(drive, 4);
+	cs5520_tune_drive(drive, 255);
 
 	/* Then tell the core to use DMA operations */
 	return 0;