From: Mark Lord Date: Wed, 25 Feb 2009 20:14:48 +0000 (-0500) Subject: [libata] sata_mv: Enable use of (basic) DMA for ATAPI on GEN_IIE chips X-Git-Tag: v2.6.30-rc1~669^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01e8a23128c746f23088db836bd4c820f3eb0b4;p=pandora-kernel.git [libata] sata_mv: Enable use of (basic) DMA for ATAPI on GEN_IIE chips This also gets rid of any need for mv_mode_filter(). Using basic DMA on GEN_IIE requires setting an undocumented bit in an undocumented register. For safety, we clear that bit again when switching back to EDMA mode. To avoid a performance penalty when switching modes, we cache the register in port_priv, as already done for other regs. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed