]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
bnx2x: added autoneg-restart after link advertisement changes
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Wed, 15 Feb 2012 02:10:25 +0000 (02:10 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 14:46:57 +0000 (22:46 +0800)
(cherry picked from commit 1b85ae52733b859e280035330e016731d4a62307)
Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_link.c

index 0e3c28e509805f890f56fd9e2e8161b98913bd5b..0dd99a1ddbe6cc643304c16065002efad1ecfe88 100644 (file)
@@ -3787,7 +3787,7 @@ static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy,
 
        /* Enable Autoneg */
        bnx2x_cl45_write(bp, phy, MDIO_AN_DEVAD,
-                        MDIO_WC_REG_IEEE0BLK_MIICNTL, 0x1000);
+                        MDIO_WC_REG_IEEE0BLK_MIICNTL, 0x1200);
 
 }