diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2011-08-01 06:26:19 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:36:40 -0400 |
commit | 2ada7fc5d4c4ddeb15bb624045fa3b36ddc025e6 (patch) | |
tree | ddcdc95c2ebcf8b528fd3da472218aec15304026 /drivers/scsi/qla4xxx/ql4_mbx.c | |
parent | fcb5124e03c8158cfe06cb204e1633149edc5f88 (diff) |
[SCSI] qla4xxx: added support to update initiator iscsi port
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_mbx.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_mbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index 011c822f5ff6..e843758da3d4 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++ b/drivers/scsi/qla4xxx/ql4_mbx.c | |||
@@ -335,6 +335,7 @@ qla4xxx_update_local_ip(struct scsi_qla_host *ha, | |||
335 | le16_to_cpu(init_fw_cb->ipv4_addr_state); | 335 | le16_to_cpu(init_fw_cb->ipv4_addr_state); |
336 | ha->ip_config.eth_mtu_size = | 336 | ha->ip_config.eth_mtu_size = |
337 | le16_to_cpu(init_fw_cb->eth_mtu_size); | 337 | le16_to_cpu(init_fw_cb->eth_mtu_size); |
338 | ha->ip_config.ipv4_port = le16_to_cpu(init_fw_cb->ipv4_port); | ||
338 | 339 | ||
339 | if (ha->acb_version == ACB_SUPPORTED) { | 340 | if (ha->acb_version == ACB_SUPPORTED) { |
340 | ha->ip_config.ipv6_options = le16_to_cpu(init_fw_cb->ipv6_opts); | 341 | ha->ip_config.ipv6_options = le16_to_cpu(init_fw_cb->ipv6_opts); |
@@ -384,6 +385,7 @@ qla4xxx_update_local_ip(struct scsi_qla_host *ha, | |||
384 | sizeof(init_fw_cb->ipv6_dflt_rtr_addr))); | 385 | sizeof(init_fw_cb->ipv6_dflt_rtr_addr))); |
385 | ha->ip_config.ipv6_vlan_tag = | 386 | ha->ip_config.ipv6_vlan_tag = |
386 | be16_to_cpu(init_fw_cb->ipv6_vlan_tag); | 387 | be16_to_cpu(init_fw_cb->ipv6_vlan_tag); |
388 | ha->ip_config.ipv6_port = le16_to_cpu(init_fw_cb->ipv6_port); | ||
387 | } | 389 | } |
388 | } | 390 | } |
389 | 391 | ||