Commit 3858276b authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller

bnx2x: Prevent self test loopback failures

Setting loopback requires time to take effect
Signed-off-by: default avatarYaniv Rosner <yanivr@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c55c3cd
...@@ -3583,7 +3583,7 @@ static void bnx2x_set_xgxs_loopback(struct link_params *params, ...@@ -3583,7 +3583,7 @@ static void bnx2x_set_xgxs_loopback(struct link_params *params,
(MDIO_REG_BANK_CL73_IEEEB0 + (MDIO_REG_BANK_CL73_IEEEB0 +
(MDIO_CL73_IEEEB0_CL73_AN_CONTROL & 0xf)), (MDIO_CL73_IEEEB0_CL73_AN_CONTROL & 0xf)),
0x6041); 0x6041);
msleep(200);
/* set aer mmd back */ /* set aer mmd back */
bnx2x_set_aer_mmd(params, vars); bnx2x_set_aer_mmd(params, vars);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment