From: Bartlomiej Zolnierkiewicz Date: Thu, 18 Oct 2007 22:30:11 +0000 (+0200) Subject: cy82c693: always tune PIO X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=af1b3d5c5120c4f042445def79e3586741f0e95a;p=linux-beck.git cy82c693: always tune PIO Signed-off-by: Bartlomiej Zolnierkiewicz --- 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 @@ /* - * linux/drivers/ide/pci/cy82c693.c Version 0.40 Sep. 10, 2002 + * linux/drivers/ide/pci/cy82c693.c Version 0.41 Aug 27, 2007 * * Copyright (C) 1998-2000 Andreas S. Krebs (akrebs@altavista.net), Maintainer * Copyright (C) 1998-2002 Andre Hedrick , Integrator @@ -431,11 +431,11 @@ static void __devinit init_hwif_cy82c693(ide_hwif_t *hwif) hwif->chipset = ide_cy82c693; hwif->set_pio_mode = &cy82c693_set_pio_mode; - 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->ide_dma_on = &cy82c693_ide_dma_on; }