From: Eilon Greenstein Date: Wed, 14 Jan 2009 06:44:16 +0000 (+0000) Subject: bnx2x: Prevent self test loopback failures X-Git-Tag: MMI-PSA29.97-13-9~29752^2~70 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3858276b7198074bf3570470463808627f0c9e31;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git bnx2x: Prevent self test loopback failures Setting loopback requires time to take effect Signed-off-by: Yaniv Rosner Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index d9e1cfcd06dd..4ce107c125d1 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c @@ -3583,7 +3583,7 @@ static void bnx2x_set_xgxs_loopback(struct link_params *params, (MDIO_REG_BANK_CL73_IEEEB0 + (MDIO_CL73_IEEEB0_CL73_AN_CONTROL & 0xf)), 0x6041); - + msleep(200); /* set aer mmd back */ bnx2x_set_aer_mmd(params, vars);