diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:53 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:53 -0400 |
commit | cb824c32f1163a8004d0e2f484ded84255caebf4 (patch) | |
tree | 8c4c4d9443c9604a27f60d83b1f85148ae87e16b /drivers/ide/pci/sc1200.c | |
parent | 93104654c4cb64b1fc56f3d021dbc8bc7ea142fc (diff) |
sc1200: always tune PIO
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r-- | drivers/ide/pci/sc1200.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index ee0e3f554d9a..0a5669adaf51 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/sc1200.c Version 0.95 Jun 16 2007 | 2 | * linux/drivers/ide/pci/sc1200.c Version 0.96 Aug 2 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 2000-2002 Mark Lord <mlord@pobox.com> | 4 | * Copyright (C) 2000-2002 Mark Lord <mlord@pobox.com> |
5 | * Copyright (C) 2007 Bartlomiej Zolnierkiewicz | 5 | * Copyright (C) 2007 Bartlomiej Zolnierkiewicz |
@@ -382,6 +382,9 @@ static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif) | |||
382 | hwif->set_pio_mode = &sc1200_set_pio_mode; | 382 | hwif->set_pio_mode = &sc1200_set_pio_mode; |
383 | hwif->set_dma_mode = &sc1200_set_dma_mode; | 383 | hwif->set_dma_mode = &sc1200_set_dma_mode; |
384 | 384 | ||
385 | hwif->drives[0].autotune = 1; | ||
386 | hwif->drives[1].autotune = 1; | ||
387 | |||
385 | if (hwif->dma_base == 0) | 388 | if (hwif->dma_base == 0) |
386 | return; | 389 | return; |
387 | 390 | ||