summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams2012-06-22 08:31:04 +0200
committerJames Bottomley2012-07-20 09:58:51 +0200
commit4e646ddd5faf707602dcb4b491412b72180da3b3 (patch)
treebccd2437c5c9f557540152523c8791edce03a1f2
parent[SCSI] libsas: use ->lldd_I_T_nexus_reset for ->eh_bus_reset_handler (diff)
downloadkernel-qcow2-linux-4e646ddd5faf707602dcb4b491412b72180da3b3.tar.gz
kernel-qcow2-linux-4e646ddd5faf707602dcb4b491412b72180da3b3.tar.xz
kernel-qcow2-linux-4e646ddd5faf707602dcb4b491412b72180da3b3.zip
[SCSI] isci: use sas eh strategy handlers
...now that the strategy handlers guarantee eh context and notify the driver of bus reset. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/isci/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index 47e28b555029..92c1d86d1fc6 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -166,6 +166,9 @@ static struct scsi_host_template isci_sht = {
.sg_tablesize = SG_ALL,
.max_sectors = SCSI_DEFAULT_MAX_SECTORS,
.use_clustering = ENABLE_CLUSTERING,
+ .eh_abort_handler = sas_eh_abort_handler,
+ .eh_device_reset_handler = sas_eh_device_reset_handler,
+ .eh_bus_reset_handler = sas_eh_bus_reset_handler,
.target_destroy = sas_target_destroy,
.ioctl = sas_ioctl,
.shost_attrs = isci_host_attrs,