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)
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.


No differences found