summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_internal.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-12-04 09:06:57 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 21:18:01 +0100
commit2a559f4ba443265b4c58925b48296f1cf81b49f9 (patch)
tree79b2c0ea7e06ce19d00ca097e5df34595afea314 /drivers/scsi/libsas/sas_internal.h
parent[SCSI] libsas: execute transport link resets with libata-eh via host workqueue (diff)
downloadlinux-2a559f4ba443265b4c58925b48296f1cf81b49f9.tar.xz
linux-2a559f4ba443265b4c58925b48296f1cf81b49f9.zip
[SCSI] libsas: sas_phy_enable via transport_sas_phy_reset
Execute the link-reset triggered by sas_phy_enable via transport_sas_phy_reset so that it can be managed by libata. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_internal.h')
-rw-r--r--drivers/scsi/libsas/sas_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_internal.h b/drivers/scsi/libsas/sas_internal.h
index ae9698d9d857..9e960b2d535a 100644
--- a/drivers/scsi/libsas/sas_internal.h
+++ b/drivers/scsi/libsas/sas_internal.h
@@ -45,6 +45,9 @@ struct sas_phy_data {
int hard_reset;
int reset_result;
struct work_struct reset_work;
+ int enable;
+ int enable_result;
+ struct work_struct enable_work;
};
void sas_scsi_recover_host(struct Scsi_Host *shost);