From: Alan Cox Date: Wed, 11 Feb 2009 21:08:41 +0000 (-0800) Subject: [libata] pata_amd: program FIFO X-Git-Tag: v2.6.29-rc7~53^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48052cc36e02fff6a9bb3cf83c4206b9127611f;p=pandora-kernel.git [libata] pata_amd: program FIFO With 32bit PIO we can use the posted write buffers, but only for 32bit I/O cycles. This means we must disable the FIFO for ATAPI where a final 16bit cycle may occur. Rework the FIFO logic so that we disable the FIFO then selectively re-enable it when we set the timings on AMD devices. Also fix a case where we scribbled on PCI config 0x41 of Nvidia chips when we shouldn't. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed