diff options
author | Alan Cox <[email protected]> | 2009-02-11 13:08:41 -0800 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2009-02-25 15:30:16 -0500 |
commit | c48052cc36e02fff6a9bb3cf83c4206b9127611f (patch) | |
tree | 7f93272031092a90d2b5decccd381319aae72be4 /lib/string_helpers.c | |
parent | 6be96ac15e4d913e1f48299db083ada5321803b2 (diff) |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions