diff options
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | 2010-07-13 16:33:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-14 16:54:17 -0400 |
commit | cea8975e84409f01fc4cf92775d2d0028ccc1665 (patch) | |
tree | 583f5ef6be82b1d84f50c0e7fad49480c5e4d2e4 /drivers/net/qlcnic/qlcnic_ctx.c | |
parent | 451724c821c1fe5af076a0def72362f947e1b6a0 (diff) |
qlcnic: restore NPAR config data after recovery
o NPAR configuration which is programmed in fw, need to
restore after fw recovery.
o Update version to 5.0.7
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_ctx.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic_ctx.c b/drivers/net/qlcnic/qlcnic_ctx.c index cdd44b4136ae..cc5d861d9a12 100644 --- a/drivers/net/qlcnic/qlcnic_ctx.c +++ b/drivers/net/qlcnic/qlcnic_ctx.c | |||
@@ -636,6 +636,8 @@ int qlcnic_get_nic_info(struct qlcnic_adapter *adapter, | |||
636 | QLCNIC_CDRP_CMD_GET_NIC_INFO); | 636 | QLCNIC_CDRP_CMD_GET_NIC_INFO); |
637 | 637 | ||
638 | if (err == QLCNIC_RCODE_SUCCESS) { | 638 | if (err == QLCNIC_RCODE_SUCCESS) { |
639 | npar_info->pci_func = le16_to_cpu(nic_info->pci_func); | ||
640 | npar_info->op_mode = le16_to_cpu(nic_info->op_mode); | ||
639 | npar_info->phys_port = le16_to_cpu(nic_info->phys_port); | 641 | npar_info->phys_port = le16_to_cpu(nic_info->phys_port); |
640 | npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); | 642 | npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); |
641 | npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); | 643 | npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); |