summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-01-14 09:44:16 +0300
committerDavid S. Miller <davem@davemloft.net>2009-01-20 03:20:12 +0300
commit3858276b7198074bf3570470463808627f0c9e31 (patch)
tree53ed188ee518e6a83471b9a6e1695800fdf12140
parent6c55c3cdc86881383075a933594748b30dd0054b (diff)
downloadlinux-3858276b7198074bf3570470463808627f0c9e31.tar.xz
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>
-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);