]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] ensure ->tf_read() hook reads Status and Error registers
authorJeff Garzik <jgarzik@pobox.com>
Sat, 29 Oct 2005 17:58:21 +0000 (13:58 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 29 Oct 2005 17:58:21 +0000 (13:58 -0400)
commitd99cf212bb32501123d123f4ff5920ae42f622d9
treed77670070abc662b6b14b5a9f9d6c08a56a476a9
parentd58eae4ff16051210e1fdebfd32c35cee5d19b15
[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.
drivers/scsi/libata-core.c
drivers/scsi/pdc_adma.c
drivers/scsi/sata_qstor.c
drivers/scsi/sata_svw.c
drivers/scsi/sata_vsc.c