aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:11 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:11 -0400
commitaf1b3d5c5120c4f042445def79e3586741f0e95a (patch)
treec745ddae45c75c5151ab0ac26e20fcaca5dfb934 /drivers
parentf0bb945c9dd5d4b7061c86b2b0511854a67457b5 (diff)
cy82c693: always tune PIO
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/pci/cy82c693.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/pci/cy82c693.c b/drivers/ide/pci/cy82c693.c
index 2790206336d3..e9502ea51a5e 100644
--- a/drivers/ide/pci/cy82c693.c
+++ b/drivers/ide/pci/cy82c693.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * linux/drivers/ide/pci/cy82c693.c Version 0.40 Sep. 10, 2002 2 * linux/drivers/ide/pci/cy82c693.c Version 0.41 Aug 27, 2007
3 * 3 *
4 * Copyright (C) 1998-2000 Andreas S. Krebs (akrebs@altavista.net), Maintainer 4 * Copyright (C) 1998-2000 Andreas S. Krebs (akrebs@altavista.net), Maintainer
5 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org>, Integrator 5 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org>, Integrator
@@ -431,11 +431,11 @@ static void __devinit init_hwif_cy82c693(ide_hwif_t *hwif)
431 hwif->chipset = ide_cy82c693; 431 hwif->chipset = ide_cy82c693;
432 hwif->set_pio_mode = &cy82c693_set_pio_mode; 432 hwif->set_pio_mode = &cy82c693_set_pio_mode;
433 433
434 if (!hwif->dma_base) { 434 hwif->drives[0].autotune = 1;
435 hwif->drives[0].autotune = 1; 435 hwif->drives[1].autotune = 1;
436 hwif->drives[1].autotune = 1; 436
437 if (hwif->dma_base == 0)
437 return; 438 return;
438 }
439 439
440 hwif->ide_dma_on = &cy82c693_ide_dma_on; 440 hwif->ide_dma_on = &cy82c693_ide_dma_on;
441} 441}