]> Pileus Git - ~andy/linux/commitdiff
[SCSI] isci: use sas eh strategy handlers
authorDan Williams <dan.j.williams@intel.com>
Fri, 22 Jun 2012 06:31:04 +0000 (23:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:51 +0000 (08:58 +0100)
...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>
drivers/scsi/isci/init.c

index 47e28b55502911c033df0a4c19e02a090b24b240..92c1d86d1fc6478471cd88a318bd9e72e9bd65d6 100644 (file)
@@ -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,