aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_attr.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-08-26 22:08:10 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-04 20:53:04 -0400
commitad3e0edaceb9771be7ffbd7aa24fb444a7ed85bf (patch)
tree0815f12f6e026ea220c03605f1b7e122b265c143 /drivers/scsi/qla2xxx/qla_attr.c
parent7524f9b9e72cd36f0a70defcd424eba81c180f42 (diff)
[SCSI] qla2xxx: Export class-of-service (COS) information.
Export COS information for the fc_host and fc_remote_port objects added by the driver. 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_attr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 659a5d63467d..d05280eecc60 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -304,10 +304,13 @@ struct fc_function_template qla2xxx_transport_functions = {
304 304
305 .show_host_node_name = 1, 305 .show_host_node_name = 1,
306 .show_host_port_name = 1, 306 .show_host_port_name = 1,
307 .show_host_supported_classes = 1,
308
307 .get_host_port_id = qla2x00_get_host_port_id, 309 .get_host_port_id = qla2x00_get_host_port_id,
308 .show_host_port_id = 1, 310 .show_host_port_id = 1,
309 311
310 .dd_fcrport_size = sizeof(struct fc_port *), 312 .dd_fcrport_size = sizeof(struct fc_port *),
313 .show_rport_supported_classes = 1,
311 314
312 .get_starget_node_name = qla2x00_get_starget_node_name, 315 .get_starget_node_name = qla2x00_get_starget_node_name,
313 .show_starget_node_name = 1, 316 .show_starget_node_name = 1,
@@ -329,4 +332,5 @@ qla2x00_init_host_attr(scsi_qla_host_t *ha)
329 be64_to_cpu(*(uint64_t *)ha->init_cb->node_name); 332 be64_to_cpu(*(uint64_t *)ha->init_cb->node_name);
330 fc_host_port_name(ha->host) = 333 fc_host_port_name(ha->host) =
331 be64_to_cpu(*(uint64_t *)ha->init_cb->port_name); 334 be64_to_cpu(*(uint64_t *)ha->init_cb->port_name);
335 fc_host_supported_classes(ha->host) = FC_COS_CLASS3;
332} 336}