diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2013-08-15 08:27:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-15 17:46:18 -0400 |
commit | 91b86e3dd00862c6ed36691c849762949aaa833e (patch) | |
tree | 27e131de9188ba16935f190b2a1383edb8a4875d /drivers/net/ethernet | |
parent | d14c5ab6bef6a46170b84c3589b27768e979f93d (diff) |
qlcnic: Reinitialize mailbox data structures after firmware reset
o After firmware reset VFs were failing to come up because of not
reinitializing mailbox data structures. Reinitialize them so that
VFs can come up after firmware reset.
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c index 046286a897ea..dc249796d61a 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | |||
@@ -1556,7 +1556,7 @@ static int qlcnic_sriov_vf_reinit_driver(struct qlcnic_adapter *adapter) | |||
1556 | { | 1556 | { |
1557 | int err; | 1557 | int err; |
1558 | 1558 | ||
1559 | set_bit(QLC_83XX_MBX_READY, &adapter->ahw->idc.status); | 1559 | qlcnic_83xx_reinit_mbx_work(adapter->ahw->mailbox); |
1560 | qlcnic_83xx_enable_mbx_interrupt(adapter); | 1560 | qlcnic_83xx_enable_mbx_interrupt(adapter); |
1561 | 1561 | ||
1562 | err = qlcnic_sriov_cfg_bc_intr(adapter, 1); | 1562 | err = qlcnic_sriov_cfg_bc_intr(adapter, 1); |