From: Manish Chopra Date: Thu, 15 Aug 2013 12:27:25 +0000 (-0400) Subject: qlcnic: Reinitialize mailbox data structures after firmware reset X-Git-Tag: MMI-PSA29.97-13-9~13727^2~288 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91b86e3dd00862c6ed36691c849762949aaa833e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Sucheta Chakraborty Signed-off-by: David S. Miller --- 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) { int err; - set_bit(QLC_83XX_MBX_READY, &adapter->ahw->idc.status); + qlcnic_83xx_reinit_mbx_work(adapter->ahw->mailbox); qlcnic_83xx_enable_mbx_interrupt(adapter); err = qlcnic_sriov_cfg_bc_intr(adapter, 1);