From 1d2f9dafd03e47d24fb04e371ee386df8325b15f Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Fri, 19 Oct 2007 00:30:11 +0200 Subject: [PATCH] --- yaml --- r: 71365 b: refs/heads/master c: 912fb29a36a7269ac1c4a4df45bc0ac1d2637972 h: refs/heads/master i: 71363: 69d813d556cfb4b854c38f2f315999d8bf4e440b v: v3 --- [refs] | 2 +- trunk/drivers/ide/pci/opti621.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 61ab8cfe87f5..36b3498e9a82 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af1b3d5c5120c4f042445def79e3586741f0e95a +refs/heads/master: 912fb29a36a7269ac1c4a4df45bc0ac1d2637972 diff --git a/trunk/drivers/ide/pci/opti621.c b/trunk/drivers/ide/pci/opti621.c index 24059c1b21df..0b15c78d278b 100644 --- a/trunk/drivers/ide/pci/opti621.c +++ b/trunk/drivers/ide/pci/opti621.c @@ -1,5 +1,5 @@ /* - * linux/drivers/ide/pci/opti621.c Version 0.7 Sept 10, 2002 + * linux/drivers/ide/pci/opti621.c Version 0.8 Aug 27, 2007 * * Copyright (C) 1996-1998 Linus Torvalds & authors (see below) */ @@ -57,9 +57,6 @@ * There is a 25/33MHz switch in configuration * register, but driver is written for use at any frequency which get * (use idebus=xx to select PCI bus speed). - * Use hda=autotune and hdb=autotune for automatical tune of the PIO modes. - * If you get strange results, do not use this and set PIO manually - * by hdparm. * * Version 0.1, Nov 8, 1996 * by Jaromir Koutek, for 2.1.8. @@ -332,6 +329,9 @@ static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) hwif->drives[1].drive_data = PIO_DONT_KNOW; hwif->set_pio_mode = &opti621_set_pio_mode; + + hwif->drives[0].autotune = 1; + hwif->drives[1].autotune = 1; } static ide_pci_device_t opti621_chipsets[] __devinitdata = {