summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_internal.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-12-04 00:06:57 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 14:18:01 -0600
commit2a559f4ba443265b4c58925b48296f1cf81b49f9 (patch)
tree79b2c0ea7e06ce19d00ca097e5df34595afea314 /drivers/scsi/libsas/sas_internal.h
parent81c757bc696284f39f07766f0c2ca67af64ce9bd (diff)
downloadop-kernel-dev-2a559f4ba443265b4c58925b48296f1cf81b49f9.zip
op-kernel-dev-2a559f4ba443265b4c58925b48296f1cf81b49f9.tar.gz
[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 ae9698d..9e960b2 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);
OpenPOWER on IntegriCloud