slc90e66: always tune PIO
PATCH 1/1 slc90e66: always tune PIO
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/pci/slc90e66.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/ide/pci/slc90e66.c +5 -5
@@ -1,5 +1,5 @@/* -* linux/drivers/ide/pci/slc90e66.c Version 0.16 Jul 14, 2007 +* linux/drivers/ide/pci/slc90e66.c Version 0.17 Aug 2, 2007 * * Copyright (C) 2000-2002 Andre Hedrick <[email protected]> * Copyright (C) 2006-2007 MontaVista Software, Inc. <[email protected]>
@@ -169,11 +169,11 @@ static void __devinit init_hwif_slc90e66pci_read_config_byte (hwif->pci_dev,0x47 , ®47); -if (!hwif->dma_base) { - hwif->drives[0 ].autotune =1 ; - hwif->drives[1 ].autotune =1 ; + hwif->drives[0 ].autotune =1 ; + hwif->drives[1 ].autotune =1 ; + +if (hwif->dma_base ==0 )return ; - } hwif->atapi_dma =1 ; hwif->ultra_mask =0x1f ;
Hello.
Quoted 1 line · Bartlomiej Zolnierkiewicz
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Note that setting DMA modes will set the chipset to PIO4.
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei