diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-12-09 02:20:44 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 16:13:40 -0500 |
commit | 43a5ab151f0268459c4368292c2ddb2266b8f243 (patch) | |
tree | e8ee97e0d49bc0c454ca90f16a836fd01830b11f /drivers/scsi/isci/task.h | |
parent | 9277699121b81891e303ada0a53fa1d04b7ffe72 (diff) |
[SCSI] isci: stop interpreting ->lldd_lu_reset() as an ata soft-reset
Driving resets from libsas-eh is pre-mature as libata will make a
decision about performing a softreset. Currently libata determines
whether to perform a softreset based on ata_eh_followup_srst_needed(),
and none of those conditions apply to isci.
Remove the srst implementation and translate ->lldd_lu_reset() for ata
devices as a request to drive a reset via libata-eh.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/isci/task.h')
-rw-r--r-- | drivers/scsi/isci/task.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/isci/task.h b/drivers/scsi/isci/task.h index bb472c339523..5ba00c3081f4 100644 --- a/drivers/scsi/isci/task.h +++ b/drivers/scsi/isci/task.h | |||
@@ -86,8 +86,6 @@ enum isci_tmf_function_codes { | |||
86 | isci_tmf_func_none = 0, | 86 | isci_tmf_func_none = 0, |
87 | isci_tmf_ssp_task_abort = TMF_ABORT_TASK, | 87 | isci_tmf_ssp_task_abort = TMF_ABORT_TASK, |
88 | isci_tmf_ssp_lun_reset = TMF_LU_RESET, | 88 | isci_tmf_ssp_lun_reset = TMF_LU_RESET, |
89 | isci_tmf_sata_srst_high = TMF_LU_RESET + 0x100, /* Non SCSI */ | ||
90 | isci_tmf_sata_srst_low = TMF_LU_RESET + 0x101 /* Non SCSI */ | ||
91 | }; | 89 | }; |
92 | /** | 90 | /** |
93 | * struct isci_tmf - This class represents the task management object which | 91 | * struct isci_tmf - This class represents the task management object which |