diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:11 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:11 -0400 |
commit | 912fb29a36a7269ac1c4a4df45bc0ac1d2637972 (patch) | |
tree | 9493c33edc7cf73c0905ca844135f455dbd3f2b9 /drivers | |
parent | af1b3d5c5120c4f042445def79e3586741f0e95a (diff) |
opti621: always tune PIO
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/pci/opti621.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index 24059c1b21df..0b15c78d278b 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/opti621.c Version 0.7 Sept 10, 2002 | 2 | * linux/drivers/ide/pci/opti621.c Version 0.8 Aug 27, 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 1996-1998 Linus Torvalds & authors (see below) | 4 | * Copyright (C) 1996-1998 Linus Torvalds & authors (see below) |
5 | */ | 5 | */ |
@@ -57,9 +57,6 @@ | |||
57 | * There is a 25/33MHz switch in configuration | 57 | * There is a 25/33MHz switch in configuration |
58 | * register, but driver is written for use at any frequency which get | 58 | * register, but driver is written for use at any frequency which get |
59 | * (use idebus=xx to select PCI bus speed). | 59 | * (use idebus=xx to select PCI bus speed). |
60 | * Use hda=autotune and hdb=autotune for automatical tune of the PIO modes. | ||
61 | * If you get strange results, do not use this and set PIO manually | ||
62 | * by hdparm. | ||
63 | * | 60 | * |
64 | * Version 0.1, Nov 8, 1996 | 61 | * Version 0.1, Nov 8, 1996 |
65 | * by Jaromir Koutek, for 2.1.8. | 62 | * by Jaromir Koutek, for 2.1.8. |
@@ -332,6 +329,9 @@ static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) | |||
332 | hwif->drives[1].drive_data = PIO_DONT_KNOW; | 329 | hwif->drives[1].drive_data = PIO_DONT_KNOW; |
333 | 330 | ||
334 | hwif->set_pio_mode = &opti621_set_pio_mode; | 331 | hwif->set_pio_mode = &opti621_set_pio_mode; |
332 | |||
333 | hwif->drives[0].autotune = 1; | ||
334 | hwif->drives[1].autotune = 1; | ||
335 | } | 335 | } |
336 | 336 | ||
337 | static ide_pci_device_t opti621_chipsets[] __devinitdata = { | 337 | static ide_pci_device_t opti621_chipsets[] __devinitdata = { |