aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/trm290.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/trm290.c b/drivers/ide/trm290.c
index 1c09e549c423..e8279f32f9a2 100644
--- a/drivers/ide/trm290.c
+++ b/drivers/ide/trm290.c
@@ -198,6 +198,7 @@ static int trm290_dma_setup(ide_drive_t *drive)
198 rw = 2; 198 rw = 2;
199 199
200 if (!(count = ide_build_dmatable(drive, rq))) { 200 if (!(count = ide_build_dmatable(drive, rq))) {
201 ide_map_sg(drive, rq);
201 /* try PIO instead of DMA */ 202 /* try PIO instead of DMA */
202 trm290_prepare_drive(drive, 0); /* select PIO xfer */ 203 trm290_prepare_drive(drive, 0); /* select PIO xfer */
203 return 1; 204 return 1;