diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-13 16:09:15 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-13 16:09:15 -0500 |
commit | 03644cd497e27c3d274f39e58ddc577e9d73bb39 (patch) | |
tree | 1ed59238df2653b4db5582af1623a4c13ff633d6 /drivers/ide/ppc/pmac.c | |
parent | 2ad1e0558f369f11d180b7448d97164a0c5f07e2 (diff) |
ide-pmac: skip conservative PIO "downgrade"
We can skip conservative PIO "downgrade" (PIO3 becomes PIO2 etc.) on PMAC.
Problem reported by Mikael.
Cc: Mikael Pettersson <mikpe@it.uu.se>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc/pmac.c')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 816b5311dad6..5afdfef7264c 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1138,6 +1138,7 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif) | |||
1138 | hwif->drives[0].autotune = IDE_TUNE_AUTO; | 1138 | hwif->drives[0].autotune = IDE_TUNE_AUTO; |
1139 | hwif->drives[1].autotune = IDE_TUNE_AUTO; | 1139 | hwif->drives[1].autotune = IDE_TUNE_AUTO; |
1140 | hwif->host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | | 1140 | hwif->host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | |
1141 | IDE_HFLAG_PIO_NO_DOWNGRADE | | ||
1141 | IDE_HFLAG_POST_SET_MODE; | 1142 | IDE_HFLAG_POST_SET_MODE; |
1142 | hwif->pio_mask = ATA_PIO4; | 1143 | hwif->pio_mask = ATA_PIO4; |
1143 | hwif->set_pio_mode = pmac_ide_set_pio_mode; | 1144 | hwif->set_pio_mode = pmac_ide_set_pio_mode; |