aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 1c47c495d69d..8a0705ac52a1 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -491,8 +491,6 @@ static int zfcp_fsf_exchange_config_evaluate(struct zfcp_fsf_req *req)
491 fc_host_port_id(shost) = ntoh24(bottom->s_id); 491 fc_host_port_id(shost) = ntoh24(bottom->s_id);
492 fc_host_speed(shost) = bottom->fc_link_speed; 492 fc_host_speed(shost) = bottom->fc_link_speed;
493 fc_host_supported_classes(shost) = FC_COS_CLASS2 | FC_COS_CLASS3; 493 fc_host_supported_classes(shost) = FC_COS_CLASS2 | FC_COS_CLASS3;
494 fc_host_supported_fc4s(shost)[2] = 1; /* FCP */
495 fc_host_active_fc4s(shost)[2] = 1; /* FCP */
496 494
497 adapter->hydra_version = bottom->adapter_type; 495 adapter->hydra_version = bottom->adapter_type;
498 adapter->timer_ticks = bottom->timer_interval; 496 adapter->timer_ticks = bottom->timer_interval;
@@ -615,6 +613,10 @@ static void zfcp_fsf_exchange_port_evaluate(struct zfcp_fsf_req *req)
615 fc_host_permanent_port_name(shost) = fc_host_port_name(shost); 613 fc_host_permanent_port_name(shost) = fc_host_port_name(shost);
616 fc_host_maxframe_size(shost) = bottom->maximum_frame_size; 614 fc_host_maxframe_size(shost) = bottom->maximum_frame_size;
617 fc_host_supported_speeds(shost) = bottom->supported_speed; 615 fc_host_supported_speeds(shost) = bottom->supported_speed;
616 memcpy(fc_host_supported_fc4s(shost), bottom->supported_fc4_types,
617 FC_FC4_LIST_SIZE);
618 memcpy(fc_host_active_fc4s(shost), bottom->active_fc4_types,
619 FC_FC4_LIST_SIZE);
618} 620}
619 621
620static void zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req *req) 622static void zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req *req)