]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
bnx2x: Fix 1G-baseT link
authorYaniv Rosner <yaniv.rosner@qlogic.com>
Thu, 12 Jun 2014 04:55:30 +0000 (07:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 17:28:18 +0000 (10:28 -0700)
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

index 592a8a4ec9c9791f903bf03287f8de003d2fa9fe..53fb4fa61b405aa540239492fef2d5a4f94fa9bd 100644 (file)
@@ -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);