bnx2x: added autoneg-restart after link advertisement changes
authorMintz Yuval <yuvalmin@broadcom.com>
Wed, 15 Feb 2012 02:10:25 +0000 (02:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 20:30:49 +0000 (15:30 -0500)
From: Yaniv Rosner <yaniv.rosner@broadcom.com>

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

index fba4c41..acc9649 100644 (file)
@@ -3793,7 +3793,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);
 
 }