]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: sanitize ide_build_sglist() and ide_destroy_dmatable()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:24 +0000 (20:15 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:24 +0000 (20:15 +0200)
commitf094d4d83bccee9277ddb6aadccf35747889426b
treea4cd886f42d6ab13b507c23b08f2064ceba04623
parent88b4132e101e60e8fa67996ae3072ab6b71e8500
ide: sanitize ide_build_sglist() and ide_destroy_dmatable()

* Move ide_map_sg() calls out from ide_build_sglist()
  to ide_dma_prepare().

* Pass command to ide_destroy_dmatable().

* Rename ide_build_sglist() to ide_dma_map_sg()
  and ide_destroy_dmatable() to ide_dma_unmap_sg().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
drivers/ide/ide-dma.c
drivers/ide/sgiioc4.c
include/linux/ide.h