diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-06-21 23:31:04 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 08:58:51 +0100 |
commit | 4e646ddd5faf707602dcb4b491412b72180da3b3 (patch) | |
tree | bccd2437c5c9f557540152523c8791edce03a1f2 /drivers | |
parent | e7db8229964365451b8ec48e32b5558100b0a318 (diff) | |
download | linux-4e646ddd5faf707602dcb4b491412b72180da3b3.tar.gz linux-4e646ddd5faf707602dcb4b491412b72180da3b3.tar.bz2 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/isci/init.c | 3 |
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, |