summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-23 23:35:44 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-23 23:52:30 -0600
commit5319578ca38a8b90b6d0270c194c65d1dd8f7725 (patch)
treea4e3c15a1035d9ace3507a06ef2093eb9b07fec8 /include/scsi
parenteea5ff7bde45c7724594e6a3c9a6290691ddabe9 (diff)
downloadlwn-5319578ca38a8b90b6d0270c194c65d1dd8f7725.tar.gz
lwn-5319578ca38a8b90b6d0270c194c65d1dd8f7725.zip
[SCSI] libsas: export sas_find_local_phy function
This is needed by the to be added I_T reset function in aic94xx. It needs to know the local phy so it can send a link or hard reset along the path. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libsas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 3ffd6b582a97..39e1cac24bb7 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -675,5 +675,6 @@ extern int sas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy,
extern void sas_ssp_task_response(struct device *dev, struct sas_task *task,
struct ssp_response_iu *iu);
+struct sas_phy *sas_find_local_phy(struct domain_device *dev);
#endif /* _SASLIB_H_ */