mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
sc1200: always tune PIO
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
93104654c4
commit
cb824c32f1
@ -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 <mlord@pobox.com>
|
||||
* Copyright (C) 2007 Bartlomiej Zolnierkiewicz
|
||||
@ -382,6 +382,9 @@ static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user