[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)
commit75c0b3867b3d3ed17142888cd4f334fbee20e3f7
tree29768fd74774032b8a8b5c913506aba18f9bb381
parent940d7faa4818f386fcdf1b7266ec7b62bf07a7d0
[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