diff options
author | Yaniv Rosner <yaniv.rosner@qlogic.com> | 2014-06-12 06:55:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-12 19:28:18 +0200 |
commit | a2755be5b5340eeb0f00a318d23a302fe95c45ba (patch) | |
tree | dd2ee822c96b2a57beb0736dcad3c1e263d19380 /drivers | |
parent | bnx2x: Fix link for KR with swapped polarity lane (diff) | |
download | linux-a2755be5b5340eeb0f00a318d23a302fe95c45ba.tar.xz linux-a2755be5b5340eeb0f00a318d23a302fe95c45ba.zip |
bnx2x: Fix 1G-baseT link
Set the phy access mode even in case of link-flap avoidance.
Signed-off-by: Yaniv Rosner <yaniv.rosner@qlogic.com>
Signed-off-by: Yuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: Ariel Elior <ariel.elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index 592a8a4ec9c9..53fb4fa61b40 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c @@ -12472,6 +12472,7 @@ static int bnx2x_avoid_link_flap(struct link_params *params, u32 dont_clear_stat, lfa_sts; struct bnx2x *bp = params->bp; + bnx2x_set_mdio_emac_per_phy(bp, params); /* Sync the link parameters */ bnx2x_link_status_update(params, vars); |