projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: move command related fields from ide_hwif_t to struct ide_cmd
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ide
/
icside.c
diff --git
a/drivers/ide/icside.c
b/drivers/ide/icside.c
index 78fc36f98d294369729c4300f978ff0e9a56c662..bdfeb1222d527e5e312956c68a6cacab3cf769e7 100644
(file)
--- a/
drivers/ide/icside.c
+++ b/
drivers/ide/icside.c
@@
-344,7
+344,7
@@
static int icside_dma_setup(ide_drive_t *drive)
* Tell the DMA engine about the SG table and
* data direction.
*/
- set_dma_sg(ec->dma, hwif->sg_table, hwif->sg_nents);
+ set_dma_sg(ec->dma, hwif->sg_table, hwif->
cmd.
sg_nents);
set_dma_mode(ec->dma, dma_mode);
drive->waiting_for_dma = 1;