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 | 93c680798531503ad1a4f1d6ad22e3785e8c4c75 (patch) | |
tree | 691f280a0ddb0f39ac6f4901ae4f4266835e9b28 /drivers | |
parent | 3985ee3b4c5f9e1d73623b92715375b089c54353 (diff) |
alim15x3: always tune PIO
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/pci/alim15x3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index 9a295e214d57..644e054926e3 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/alim15x3.c Version 0.26 Jul 14 2007 | 2 | * linux/drivers/ide/pci/alim15x3.c Version 0.27 Aug 27 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 1998-2000 Michel Aubry, Maintainer | 4 | * Copyright (C) 1998-2000 Michel Aubry, Maintainer |
5 | * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer | 5 | * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer |
@@ -668,11 +668,11 @@ static void __devinit init_hwif_common_ali15x3 (ide_hwif_t *hwif) | |||
668 | if (m5229_revision <= 0xC4) | 668 | if (m5229_revision <= 0xC4) |
669 | hwif->host_flags |= IDE_HFLAG_NO_LBA48_DMA; | 669 | hwif->host_flags |= IDE_HFLAG_NO_LBA48_DMA; |
670 | 670 | ||
671 | if (!hwif->dma_base) { | 671 | hwif->drives[0].autotune = 1; |
672 | hwif->drives[0].autotune = 1; | 672 | hwif->drives[1].autotune = 1; |
673 | hwif->drives[1].autotune = 1; | 673 | |
674 | if (hwif->dma_base == 0) | ||
674 | return; | 675 | return; |
675 | } | ||
676 | 676 | ||
677 | /* | 677 | /* |
678 | * check in ->init_dma guarantees m5229_revision >= 0x20 here | 678 | * check in ->init_dma guarantees m5229_revision >= 0x20 here |