From: Bartlomiej Zolnierkiewicz Date: Tue, 31 Mar 2009 18:15:21 +0000 (+0200) Subject: ide: add ->dma_check method X-Git-Tag: v2.6.30-rc1~418^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a4a5738ba499083cf4c5668895efe220b1946d3;p=pandora-kernel.git ide: add ->dma_check method * Add (an optional) ->dma_check method for checking if DMA can be used for a given command and fail DMA setup in ide_dma_prepare() if necessary. * Convert alim15x3 and trm290 host drivers to use ->dma_check. * Rename ali15x3_dma_setup() to ali_dma_check() while at it. There should be no functional changes caused by this patch. Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed