]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libsas: fix ATAPI check condition termination
authorJames Bottomley <James.Bottomley@suse.de>
Sun, 23 Jan 2011 14:16:24 +0000 (08:16 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 18:05:22 +0000 (12:05 -0600)
commit4adbe939e267738b31f7f9339773a171bbb71358
tree29768fd74774032b8a8b5c913506aba18f9bb381
parent8862adec577c894d0989512caf9a629c840cffc8
[SCSI] libsas: fix ATAPI check condition termination

ATAPI check condition needs to be treated the same as a success or
protocol return.  The register returns from the PACKET command are all
correctly positioned in the device to host register FIS and so we
should collect them properly.  Right at the moment this doesn't matter
because libata sends a request sense always for ATAPI errors, but if
it ever checked the registers, we should have the correct contents
just in case.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libsas/sas_ata.c