summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.h
diff options
context:
space:
mode:
authorJeff Skirvin2012-03-09 07:41:50 +0100
committerDan Williams2012-05-17 23:33:37 +0200
commitac78ed0f78eae5c3c918e132b5e2029cdc4fdedc (patch)
treeac1e7cc2dc8fcffa22d8791baf265dd748594a1f /drivers/scsi/isci/request.h
parentisci: Fixed bug in resumption from RNC Tx/Rx suspend state. (diff)
downloadkernel-qcow2-linux-ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc.tar.gz
kernel-qcow2-linux-ac78ed0f78eae5c3c918e132b5e2029cdc4fdedc.tar.xz
kernel-qcow2-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.h1
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_) */