diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-08-26 22:09:40 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-04 20:53:42 -0400 |
commit | afb046e2be724a90f21f7cf0ba50e328005bd038 (patch) | |
tree | 42b765edbab8add27554294c4065ad850d9d36e8 /drivers/scsi/qla2xxx/qla_os.c | |
parent | ce7e4af7f507c156c3fd3dbb41ffe4a77c700b54 (diff) |
[SCSI] qla2xxx: Add host attributes.
Export additional host information via the shost_attrs member in
the scsi_host template. Attributes include: driver version,
firmware version, ISP serial number, ISP type, ISP product ID,
HBA model name, HBA model description, PCI interconnect
information, and HBA port state.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 413ccc152de5..14f2f9077c81 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -140,6 +140,7 @@ static struct scsi_host_template qla2x00_driver_template = { | |||
140 | * which equates to 0x800000 sectors. | 140 | * which equates to 0x800000 sectors. |
141 | */ | 141 | */ |
142 | .max_sectors = 0xFFFF, | 142 | .max_sectors = 0xFFFF, |
143 | .shost_attrs = qla2x00_host_attrs, | ||
143 | }; | 144 | }; |
144 | 145 | ||
145 | static struct scsi_host_template qla24xx_driver_template = { | 146 | static struct scsi_host_template qla24xx_driver_template = { |
@@ -164,6 +165,7 @@ static struct scsi_host_template qla24xx_driver_template = { | |||
164 | .sg_tablesize = SG_ALL, | 165 | .sg_tablesize = SG_ALL, |
165 | 166 | ||
166 | .max_sectors = 0xFFFF, | 167 | .max_sectors = 0xFFFF, |
168 | .shost_attrs = qla2x00_host_attrs, | ||
167 | }; | 169 | }; |
168 | 170 | ||
169 | static struct scsi_transport_template *qla2xxx_transport_template = NULL; | 171 | static struct scsi_transport_template *qla2xxx_transport_template = NULL; |