summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-01-14 07:44:16 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-20 01:20:12 +0100
commit3858276b7198074bf3570470463808627f0c9e31 (patch)
tree53ed188ee518e6a83471b9a6e1695800fdf12140 /drivers/net/bnx2x_link.c
parentbnx2x: 1G-10G toggling race (diff)
downloadlinux-3858276b7198074bf3570470463808627f0c9e31.tar.xz
linux-3858276b7198074bf3570470463808627f0c9e31.zip
bnx2x: Prevent self test loopback failures
Setting loopback requires time to take effect Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r--drivers/net/bnx2x_link.c2
1 files changed, 1 insertions, 1 deletions
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);