summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2009-02-11 22:08:41 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-02-25 21:30:16 +0100
commitc48052cc36e02fff6a9bb3cf83c4206b9127611f (patch)
tree7f93272031092a90d2b5decccd381319aae72be4 /drivers/ata/pata_legacy.c
parentsata_mv: fix SoC interrupt breakage (diff)
downloadlinux-c48052cc36e02fff6a9bb3cf83c4206b9127611f.tar.xz
linux-c48052cc36e02fff6a9bb3cf83c4206b9127611f.zip
[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 <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
0 files changed, 0 insertions, 0 deletions