diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-08-26 19:09:40 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-04 19:53:42 -0500 |
commit | afb046e2be724a90f21f7cf0ba50e328005bd038 (patch) | |
tree | 42b765edbab8add27554294c4065ad850d9d36e8 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | ce7e4af7f507c156c3fd3dbb41ffe4a77c700b54 (diff) | |
download | kernel_samsung_espresso10-afb046e2be724a90f21f7cf0ba50e328005bd038.zip kernel_samsung_espresso10-afb046e2be724a90f21f7cf0ba50e328005bd038.tar.gz kernel_samsung_espresso10-afb046e2be724a90f21f7cf0ba50e328005bd038.tar.bz2 |
[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_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 5deaa7e..95fb0c4 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -290,6 +290,8 @@ extern void qla2x00_cancel_io_descriptors(scsi_qla_host_t *); /* * Global Function Prototypes in qla_attr.c source file. */ +struct class_device_attribute; +extern struct class_device_attribute *qla2x00_host_attrs[]; struct fc_function_template; extern struct fc_function_template qla2xxx_transport_functions; extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); |