diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2007-07-08 23:52:06 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-18 12:18:07 -0400 |
commit | 7aa68e80bd481faae1234bc2a7e4bcc9348f98b4 (patch) | |
tree | d5df54a48de9c214fde64dd536e79ed3bba942a5 /include/scsi/scsi_transport_sas.h | |
parent | 3ac709c113daa19e375e8b0fef318fab1713f687 (diff) |
[SCSI] transport_sas: add SAS management protocol support
The sas transport class attaches one bsg device to every SAS object
(host, device, expander, etc). LLDs can define a function to handle
SMP requests via sas_function_template::smp_handler.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_transport_sas.h')
-rw-r--r-- | include/scsi/scsi_transport_sas.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_sas.h b/include/scsi/scsi_transport_sas.h index 97eeb5b59ea5..af304fb9d979 100644 --- a/include/scsi/scsi_transport_sas.h +++ b/include/scsi/scsi_transport_sas.h | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | struct scsi_transport_template; | 8 | struct scsi_transport_template; |
9 | struct sas_rphy; | 9 | struct sas_rphy; |
10 | 10 | struct request; | |
11 | 11 | ||
12 | enum sas_device_type { | 12 | enum sas_device_type { |
13 | SAS_PHY_UNUSED, | 13 | SAS_PHY_UNUSED, |
@@ -172,6 +172,7 @@ struct sas_function_template { | |||
172 | int (*phy_reset)(struct sas_phy *, int); | 172 | int (*phy_reset)(struct sas_phy *, int); |
173 | int (*phy_enable)(struct sas_phy *, int); | 173 | int (*phy_enable)(struct sas_phy *, int); |
174 | int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *); | 174 | int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *); |
175 | int (*smp_handler)(struct Scsi_Host *, struct sas_rphy *, struct request *); | ||
175 | }; | 176 | }; |
176 | 177 | ||
177 | 178 | ||