scsi_transport_sas: add function to get SAS endpoint address
For a device known to be SAS connected, this will return the endpoint address. This is useful for getting the SAS address of SATA devices. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
@@ -189,6 +189,7 @@ extern int sas_phy_add(struct sas_phy *);
|
||||
extern void sas_phy_delete(struct sas_phy *);
|
||||
extern int scsi_is_sas_phy(const struct device *);
|
||||
|
||||
u64 sas_get_address(struct scsi_device *);
|
||||
unsigned int sas_tlr_supported(struct scsi_device *);
|
||||
unsigned int sas_is_tlr_enabled(struct scsi_device *);
|
||||
void sas_disable_tlr(struct scsi_device *);
|
||||
|
Reference in New Issue
Block a user