aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gbl.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-08-26 22:09:40 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-04 20:53:42 -0400
commitafb046e2be724a90f21f7cf0ba50e328005bd038 (patch)
tree42b765edbab8add27554294c4065ad850d9d36e8 /drivers/scsi/qla2xxx/qla_gbl.h
parentce7e4af7f507c156c3fd3dbb41ffe4a77c700b54 (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_gbl.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_gbl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index 5deaa7e6ee60..95fb0c4941aa 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 *);
290/* 290/*
291 * Global Function Prototypes in qla_attr.c source file. 291 * Global Function Prototypes in qla_attr.c source file.
292 */ 292 */
293struct class_device_attribute;
294extern struct class_device_attribute *qla2x00_host_attrs[];
293struct fc_function_template; 295struct fc_function_template;
294extern struct fc_function_template qla2xxx_transport_functions; 296extern struct fc_function_template qla2xxx_transport_functions;
295extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); 297extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *);