]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/icside.c
ide: move command related fields from ide_hwif_t to struct ide_cmd
[linux-2.6-omap-h63xx.git] / drivers / ide / icside.c
index 78fc36f98d294369729c4300f978ff0e9a56c662..bdfeb1222d527e5e312956c68a6cacab3cf769e7 100644 (file)
@@ -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;