aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-16 16:29:54 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-16 16:29:54 -0400
commitd6ae3adb2efb078bcbcf727030771408dafd8ed4 (patch)
treed211cb779093120de2c1ba8773affd4897c5fdb2 /drivers/ide
parent3f019eea9ccff0e81d3226759a619ceec26e2e00 (diff)
sl82c105: add PIO autotune fallback to ->ide_dma_check
Since sl82c105 re-programs DMA/PIO timings for DMA enable/disable, and sets ->autotune this change shouldn't have any other effect than bringing sl82c105 driver in-line with other host drivers wrt ->ide_dma_check implementation. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/pci/sl82c105.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c
index 2ef26e3f7be4..245eac05ab1b 100644
--- a/drivers/ide/pci/sl82c105.c
+++ b/drivers/ide/pci/sl82c105.c
@@ -154,6 +154,8 @@ static int sl82c105_ide_dma_check(ide_drive_t *drive)
154 if (ide_tune_dma(drive)) 154 if (ide_tune_dma(drive))
155 return 0; 155 return 0;
156 156
157 ide_set_max_pio(drive);
158
157 return -1; 159 return -1;
158} 160}
159 161