]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: call ide_build_sglist() prior to ->dma_setup (v2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:37 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:37 +0000 (12:46 +0100)
commite6830a86c260d73c6f370aa7ed17ee6c71e5ee05
treec2c7d472184da1549852b86eef551609cddcbcbf
parentb109f526cabcd098131e770fd6232282bce147b4
ide: call ide_build_sglist() prior to ->dma_setup (v2)

* Re-map sg table if needed in ide_build_sglist().

* Move ide_build_sglist() call from ->dma_setup to its users.

* Un-export ide_build_sglist().

v2:
* Build fix for CONFIG_BLK_DEV_IDEDMA=n (noticed by Randy Dunlap).

There should be no functional changes caused by this patch.

Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/au1xxx-ide.c
drivers/ide/icside.c
drivers/ide/ide-atapi.c
drivers/ide/ide-dma-sff.c
drivers/ide/ide-dma.c
drivers/ide/ide-taskfile.c
drivers/ide/pmac.c
drivers/ide/sgiioc4.c
drivers/ide/tx4939ide.c
include/linux/ide.h