commit | ac19bff25b6834d858274406a686f2227dd8489d | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jgarzik@pobox.com> | Sat Oct 29 13:58:21 2005 -0400 |
committer | Jeff Garzik <jgarzik@pobox.com> | Sat Oct 29 13:58:21 2005 -0400 |
tree | d77670070abc662b6b14b5a9f9d6c08a56a476a9 | |
parent | 9dfb7808fb05643b0d06df7411b94d9546696bf1 [diff] |
[libata] ensure ->tf_read() hook reads Status and Error registers We want ->tf_read() to get a complete snapshot of all taskfile registers, without requiring the callers to manually call ata_chk_status() and ata_chk_err() themselves. This also fixes a minor bug in sata_vsc where the lower bits of the feature register were incorrectly placed in the HOB (high order bits) portion of struct ata_taskfile.