aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-02-16 07:31:47 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-27 23:55:13 -0500
commita012564136a665f8d63443c057ba368572b483df (patch)
treebc70eb34b786be000b3465d16e8729f1644ea5a5 /include/scsi
parente3094447e013a59ccedcf60f6055f18225bd8465 (diff)
[SCSI] sas: add support for enclosure and bad ID rphy attributes
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_sas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_sas.h b/include/scsi/scsi_transport_sas.h
index b91400bfb02a..ccef5d2cf478 100644
--- a/include/scsi/scsi_transport_sas.h
+++ b/include/scsi/scsi_transport_sas.h
@@ -94,6 +94,8 @@ struct sas_rphy {
94/* The functions by which the transport class and the driver communicate */ 94/* The functions by which the transport class and the driver communicate */
95struct sas_function_template { 95struct sas_function_template {
96 int (*get_linkerrors)(struct sas_phy *); 96 int (*get_linkerrors)(struct sas_phy *);
97 int (*get_enclosure_identifier)(struct sas_rphy *, u64 *);
98 int (*get_bay_identifier)(struct sas_rphy *);
97 int (*phy_reset)(struct sas_phy *, int); 99 int (*phy_reset)(struct sas_phy *, int);
98}; 100};
99 101