From: Bartlomiej Zolnierkiewicz Date: Tue, 31 Mar 2009 18:15:21 +0000 (+0200) Subject: ide: move ide_map_sg() call out of ->dma_setup method (take 2) X-Git-Tag: v2.6.30-rc1~418^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11998b316173f814698f9037ce9179d634d1f423;p=pandora-kernel.git ide: move ide_map_sg() call out of ->dma_setup method (take 2) Move ide_map_sg() call from ->dma_setup implementations and ide_destroy_dmatable() one from *_build_dmatable() to ide_dma_prepare(). There should be no functional changes caused by this patch. Sergei: Removed 'use_pio_instead' labels and replaced 'goto' with 'return 0' -- that required no changes to the follow-up patches... Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed