aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/icside.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/icside.c')
-rw-r--r--drivers/ide/icside.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c
index 78fc36f98d29..bdfeb1222d52 100644
--- a/drivers/ide/icside.c
+++ b/drivers/ide/icside.c
@@ -344,7 +344,7 @@ static int icside_dma_setup(ide_drive_t *drive)
344 * Tell the DMA engine about the SG table and 344 * Tell the DMA engine about the SG table and
345 * data direction. 345 * data direction.
346 */ 346 */
347 set_dma_sg(ec->dma, hwif->sg_table, hwif->sg_nents); 347 set_dma_sg(ec->dma, hwif->sg_table, hwif->cmd.sg_nents);
348 set_dma_mode(ec->dma, dma_mode); 348 set_dma_mode(ec->dma, dma_mode);
349 349
350 drive->waiting_for_dma = 1; 350 drive->waiting_for_dma = 1;