sc1200: always tune PIO
PATCH 1/1 sc1200: always tune PIO
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/pci/sc1200.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/ide/pci/sc1200.c +4 -1
@@ -1,5 +1,5 @@/* -* linux/drivers/ide/pci/sc1200.c Version 0.95 Jun 16 2007 +* linux/drivers/ide/pci/sc1200.c Version 0.96 Aug 2 2007 * * Copyright (C) 2000-2002 Mark Lord <[email protected]> * Copyright (C) 2007 Bartlomiej Zolnierkiewicz
@@ -354,6 +354,9 @@ static void __devinit init_hwif_sc1200 ( hwif->set_pio_mode = &sc1200_set_pio_mode; hwif->set_dma_mode = &sc1200_set_dma_mode; + hwif->drives[0 ].autotune =1 ; + hwif->drives[1 ].autotune =1 ; +if (hwif->dma_base ==0 )return ;
Quoted 1 line · Bartlomiej Zolnierkiewicz
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei