[SCSI] sas_ata: Implement sas_task_abort for ATA devices
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 09:18:58 +0000 (01:18 -0800)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:16:03 +0000 (11:16 -0500)
commit3a2755af37b317d47fdc3dd15178adaf5d47263e
tree1d4bca0573db7d4a19a4feac5a14855764a3f3fb
parentfe059f122fb9d1bd3a629d4215a4dde11df66f98
[SCSI] sas_ata: Implement sas_task_abort for ATA devices

ATA devices need special handling for sas_task_abort.  If the ATA command
came from SCSI, then we merely need to tell SCSI to abort the scsi_cmnd.
However, internal commands require a bit more work--we need to fill the qc
with the appropriate error status and complete the command, and eventually
post_internal will issue the actual ABORT TASK.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_internal.h
drivers/scsi/libsas/sas_scsi_host.c
include/scsi/sas_ata.h