diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-07-09 13:38:19 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-12 09:03:20 -0400 |
commit | a0e1b6ef3b851fe6f1dcc259432e83de79ce5e7f (patch) | |
tree | 4e62bf64d66e2a07cdad6480441a2a443246e3cb /include | |
parent | 631c228cd09bd5b93090fa60bd9803ec14aa0586 (diff) |
[SCSI] scsi_transport_sas: add expander backlink
This patch adds the ability to add a backlink to a particular port. The
idea is to represent properly ports on expanders that are used
specifically for linking to the parent device in the topology.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport_sas.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_sas.h b/include/scsi/scsi_transport_sas.h index f5772ff61d0d..6cc2314098cf 100644 --- a/include/scsi/scsi_transport_sas.h +++ b/include/scsi/scsi_transport_sas.h | |||
@@ -130,6 +130,8 @@ struct sas_port { | |||
130 | 130 | ||
131 | int port_identifier; | 131 | int port_identifier; |
132 | int num_phys; | 132 | int num_phys; |
133 | /* port flags */ | ||
134 | unsigned int is_backlink:1; | ||
133 | 135 | ||
134 | /* the other end of the link */ | 136 | /* the other end of the link */ |
135 | struct sas_rphy *rphy; | 137 | struct sas_rphy *rphy; |
@@ -175,6 +177,7 @@ void sas_port_free(struct sas_port *); | |||
175 | void sas_port_delete(struct sas_port *); | 177 | void sas_port_delete(struct sas_port *); |
176 | void sas_port_add_phy(struct sas_port *, struct sas_phy *); | 178 | void sas_port_add_phy(struct sas_port *, struct sas_phy *); |
177 | void sas_port_delete_phy(struct sas_port *, struct sas_phy *); | 179 | void sas_port_delete_phy(struct sas_port *, struct sas_phy *); |
180 | void sas_port_mark_backlink(struct sas_port *); | ||
178 | int scsi_is_sas_port(const struct device *); | 181 | int scsi_is_sas_port(const struct device *); |
179 | 182 | ||
180 | extern struct scsi_transport_template * | 183 | extern struct scsi_transport_template * |