aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_attr.c
diff options
context:
space:
mode:
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}