aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-02-16 13:31:47 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-27 22:55:13 -0600
commita012564136a665f8d63443c057ba368572b483df (patch)
treebc70eb34b786be000b3465d16e8729f1644ea5a5 /include/scsi
parent[SCSI] mptsas: add support for enclosure and bay identifier attributes (diff)
downloadlinux-dev-a012564136a665f8d63443c057ba368572b483df.tar.xz
linux-dev-a012564136a665f8d63443c057ba368572b483df.zip
[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 {
/* The functions by which the transport class and the driver communicate */
struct sas_function_template {
int (*get_linkerrors)(struct sas_phy *);
+ int (*get_enclosure_identifier)(struct sas_rphy *, u64 *);
+ int (*get_bay_identifier)(struct sas_rphy *);
int (*phy_reset)(struct sas_phy *, int);
};