diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-03-08 22:41:50 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2012-05-17 14:33:37 -0700 |
commit | ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc (patch) | |
tree | ac1e7cc2dc8fcffa22d8791baf265dd748594a1f /drivers/scsi/isci/request.h | |
parent | 56d7c013e714c6feab2ab5ac854808e29048b069 (diff) | |
download | linux-ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc.tar.gz linux-ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc.tar.bz2 linux-ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc.zip |
isci: Handle all suspending TC completions
Add comprehensive decode for all TC completions that generate RNC
suspensions.
Note that this commit also removes unconditional resumptions of ATAPI
devices when in the SCI_STP_DEV_ATAPI_ERROR state, and STP devices
when in the SCI_STP_DEV_IDLE state. This is because the SCI_STP_DEV_IDLE
and SCI_STP_DEV_ATAPI state entry functions manage the RNC resumption.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.h')
-rw-r--r-- | drivers/scsi/isci/request.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/isci/request.h b/drivers/scsi/isci/request.h index 4961f9fbf70f..e845a31ecebb 100644 --- a/drivers/scsi/isci/request.h +++ b/drivers/scsi/isci/request.h @@ -414,5 +414,4 @@ static inline int isci_task_is_ncq_recovery(struct sas_task *task) task->ata_task.fis.lbal == ATA_LOG_SATA_NCQ); } - #endif /* !defined(_ISCI_REQUEST_H_) */ |