| commit | cb72cba83021fa42719e73a5249c12096a4d1cfc | [log] [tgz] |
|---|---|---|
| author | Kevin Wolf <kwolf@redhat.com> | Sun Jul 26 23:42:53 2015 -0400 |
| committer | John Snow <jsnow@redhat.com> | Sun Jul 26 23:42:53 2015 -0400 |
| tree | efca83e551a1e5af9b2fa90b87ccfb50e0f85477 | |
| parent | 03441c3a4a42beb25460dd11592539030337d0f8 [diff] |
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: Kevin Wolf <kwolf@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>