aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2008-05-02 02:09:14 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-06 11:37:39 -0400
commit9b2c4e0bae854fb5e88c9cacc0dacf21631c5cb0 (patch)
tree52f4be46f543e22c35d43806ad38764c165e9b3d /block
parent616d4a98ad8749ebe17a8fcac67df65c321350ac (diff)
sata_mv wait for empty+idle
When performing EH, it is recommended to wait for the EDMA engine to empty out requests-in-progress before disabling EDMA. Introduce code to poll the EDMA_STATUS register for idle/empty bits before disabling EDMA. For non-EH operation, this will normally exit without delay, other than the register read. A later series of patches may focus on eliminating this and various other register reads (when possible) throughout the driver, but for now we're focussing on solid reliablity. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions