diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 463846942e16..4e1e175cb9da 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -857,6 +857,14 @@ qla2x00_get_host_symbolic_name(struct Scsi_Host *shost) | |||
857 | qla2x00_get_sym_node_name(ha, fc_host_symbolic_name(shost)); | 857 | qla2x00_get_sym_node_name(ha, fc_host_symbolic_name(shost)); |
858 | } | 858 | } |
859 | 859 | ||
860 | static void | ||
861 | qla2x00_set_host_system_hostname(struct Scsi_Host *shost) | ||
862 | { | ||
863 | scsi_qla_host_t *ha = to_qla_host(shost); | ||
864 | |||
865 | set_bit(REGISTER_FDMI_NEEDED, &ha->dpc_flags); | ||
866 | } | ||
867 | |||
860 | struct fc_function_template qla2xxx_transport_functions = { | 868 | struct fc_function_template qla2xxx_transport_functions = { |
861 | 869 | ||
862 | .show_host_node_name = 1, | 870 | .show_host_node_name = 1, |
@@ -871,6 +879,8 @@ struct fc_function_template qla2xxx_transport_functions = { | |||
871 | .show_host_port_type = 1, | 879 | .show_host_port_type = 1, |
872 | .get_host_symbolic_name = qla2x00_get_host_symbolic_name, | 880 | .get_host_symbolic_name = qla2x00_get_host_symbolic_name, |
873 | .show_host_symbolic_name = 1, | 881 | .show_host_symbolic_name = 1, |
882 | .set_host_system_hostname = qla2x00_set_host_system_hostname, | ||
883 | .show_host_system_hostname = 1, | ||
874 | 884 | ||
875 | .dd_fcrport_size = sizeof(struct fc_port *), | 885 | .dd_fcrport_size = sizeof(struct fc_port *), |
876 | .show_rport_supported_classes = 1, | 886 | .show_rport_supported_classes = 1, |