diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-12-04 12:06:57 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-20 00:18:01 +0400 |
commit | 2a559f4ba443265b4c58925b48296f1cf81b49f9 (patch) | |
tree | 79b2c0ea7e06ce19d00ca097e5df34595afea314 /drivers/scsi/libsas/sas_internal.h | |
parent | 81c757bc696284f39f07766f0c2ca67af64ce9bd (diff) | |
download | linux-2a559f4ba443265b4c58925b48296f1cf81b49f9.tar.xz |
[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.h | 3 |
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); |