提交 a2755be5 编写于 作者: Y Yaniv Rosner 提交者: David S. Miller

bnx2x: Fix 1G-baseT link

Set the phy access mode even in case of link-flap avoidance.
Signed-off-by: NYaniv Rosner <yaniv.rosner@qlogic.com>
Signed-off-by: NYuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: NAriel Elior <ariel.elior@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dad91ee4
...@@ -12472,6 +12472,7 @@ static int bnx2x_avoid_link_flap(struct link_params *params, ...@@ -12472,6 +12472,7 @@ static int bnx2x_avoid_link_flap(struct link_params *params,
u32 dont_clear_stat, lfa_sts; u32 dont_clear_stat, lfa_sts;
struct bnx2x *bp = params->bp; struct bnx2x *bp = params->bp;
bnx2x_set_mdio_emac_per_phy(bp, params);
/* Sync the link parameters */ /* Sync the link parameters */
bnx2x_link_status_update(params, vars); bnx2x_link_status_update(params, vars);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册