aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-03-18 16:00:50 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-19 11:21:16 -0500
commit2f8600dff2b140096a7df781884e918a16aa90e0 (patch)
tree313d53e23c618950b078b6fd39d9e078fdf79011 /include/scsi
parentf013db3284376070fc4c196e58d204180b8ed62a (diff)
[SCSI] eliminate rphy allocation in favour of expander/end device allocation
This allows the removal of the contained flag and also does a bit of class renaming (sas_rphy->sas_device). Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_sas.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/scsi/scsi_transport_sas.h b/include/scsi/scsi_transport_sas.h
index 2943ccc22a43..93cfb4bf4211 100644
--- a/include/scsi/scsi_transport_sas.h
+++ b/include/scsi/scsi_transport_sas.h
@@ -82,10 +82,6 @@ struct sas_rphy {
82 struct sas_identify identify; 82 struct sas_identify identify;
83 struct list_head list; 83 struct list_head list;
84 u32 scsi_target_id; 84 u32 scsi_target_id;
85 /* temporary expedient: mark the rphy as being contained
86 * within a type specific rphy
87 * FIXME: pull this out when everything uses the containers */
88 unsigned contained:1;
89}; 85};
90 86
91#define dev_to_rphy(d) \ 87#define dev_to_rphy(d) \
@@ -145,7 +141,6 @@ extern int sas_phy_add(struct sas_phy *);
145extern void sas_phy_delete(struct sas_phy *); 141extern void sas_phy_delete(struct sas_phy *);
146extern int scsi_is_sas_phy(const struct device *); 142extern int scsi_is_sas_phy(const struct device *);
147 143
148extern struct sas_rphy *sas_rphy_alloc(struct sas_phy *);
149extern struct sas_rphy *sas_end_device_alloc(struct sas_phy *); 144extern struct sas_rphy *sas_end_device_alloc(struct sas_phy *);
150extern struct sas_rphy *sas_expander_alloc(struct sas_phy *, enum sas_device_type); 145extern struct sas_rphy *sas_expander_alloc(struct sas_phy *, enum sas_device_type);
151void sas_rphy_free(struct sas_rphy *); 146void sas_rphy_free(struct sas_rphy *);