From: Bartlomiej Zolnierkiewicz Date: Mon, 20 Aug 2007 20:42:57 +0000 (+0200) Subject: hpt34x: fix CONFIG_HPT34X_AUTODMA=n handling X-Git-Tag: v2.6.23-rc4~102^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76e1faa7cfd464fa06a9c2cafd633d643daafeae;p=pandora-kernel.git hpt34x: fix CONFIG_HPT34X_AUTODMA=n handling Programming DMA mode may destroy current PIO mode setting so if CONFIG_HPT34X_AUTODMA=n (the default case) make ide_tune_dma() fail early by disabling all host DMA masks and re-tune PIO mode. This fix doesn't help with the driver being broken but is needed for some other changes. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed