Skip to content
Commit d1557697 authored by Kevin Wolf's avatar Kevin Wolf Committed by Michael Roth
Browse files

ide: Clear DRQ after handling all expected accesses



This is additional hardening against an end_transfer_func that fails to
clear the DRQ status bit. The bit must be unset as soon as the PIO
transfer has completed, so it's better to do this in a central place
instead of duplicating the code in all commands (and forgetting it in
some).

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
(cherry picked from commit cb72cba8)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 86d6fe4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment