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 | a7b888b2f1422009f286c9e639db9bd726e9673a (patch) | |
tree | 906868f576f0ed5a59453ba24c51a5ed9bdf0958 /drivers/ide/pci | |
parent | bc46b17d23e5fb1e76fdeaf05c86ae02a5d4456a (diff) |
slc90e66: 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')
-rw-r--r-- | drivers/ide/pci/slc90e66.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index ebac87f7200a..31cb0263dbd2 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/slc90e66.c Version 0.16 Jul 14, 2007 | 2 | * linux/drivers/ide/pci/slc90e66.c Version 0.17 Aug 2, 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 2000-2002 Andre Hedrick <andre@linux-ide.org> | 4 | * Copyright (C) 2000-2002 Andre Hedrick <andre@linux-ide.org> |
5 | * Copyright (C) 2006-2007 MontaVista Software, Inc. <source@mvista.com> | 5 | * Copyright (C) 2006-2007 MontaVista Software, Inc. <source@mvista.com> |
@@ -169,11 +169,11 @@ static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) | |||
169 | 169 | ||
170 | pci_read_config_byte(hwif->pci_dev, 0x47, ®47); | 170 | pci_read_config_byte(hwif->pci_dev, 0x47, ®47); |
171 | 171 | ||
172 | if (!hwif->dma_base) { | 172 | hwif->drives[0].autotune = 1; |
173 | hwif->drives[0].autotune = 1; | 173 | hwif->drives[1].autotune = 1; |
174 | hwif->drives[1].autotune = 1; | 174 | |
175 | if (hwif->dma_base == 0) | ||
175 | return; | 176 | return; |
176 | } | ||
177 | 177 | ||
178 | hwif->atapi_dma = 1; | 178 | hwif->atapi_dma = 1; |
179 | hwif->ultra_mask = 0x1f; | 179 | hwif->ultra_mask = 0x1f; |