]> err.no Git - linux-2.6/commit
libata: ATAPI command completion tweaks and notes
authorJeff Garzik <jgarzik@pobox.com>
Wed, 5 Oct 2005 19:02:14 +0000 (15:02 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 5 Oct 2005 19:02:14 +0000 (15:02 -0400)
commita15dbeb4772626a015337dea06da67095aec3862
tree2834c0f61b396c2eba008c176b49460c02a564f5
parent67846b30171cc4d706125f630193a76a26bb334a
libata: ATAPI command completion tweaks and notes

1) note urgent bug, that completes command twice

2) only fix up INQUIRY data if the SCSI version is zero (typically
indicates ATAPI MMC-ish device)

3) if there is a problem on the ATA bus, don't bother with REQUEST
SENSE, just directly handle the error based on Status/Error registers.
drivers/scsi/libata-scsi.c