projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ef124
)
trm290: trm290_dma_setup() fix
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:32 +0000
(12:46 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:32 +0000
(12:46 +0100)
Re-map sg table if necessary (not that it really matters since
DMA support is disabled currently).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/trm290.c
patch
|
blob
|
history
diff --git
a/drivers/ide/trm290.c
b/drivers/ide/trm290.c
index 1c09e549c423ca06765e127ff91f73cab73f4716..e8279f32f9a232afb1f7a30ba0b6fde7c4361ed1 100644
(file)
--- a/
drivers/ide/trm290.c
+++ b/
drivers/ide/trm290.c
@@
-198,6
+198,7
@@
static int trm290_dma_setup(ide_drive_t *drive)
rw = 2;
if (!(count = ide_build_dmatable(drive, rq))) {
+ ide_map_sg(drive, rq);
/* try PIO instead of DMA */
trm290_prepare_drive(drive, 0); /* select PIO xfer */
return 1;