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 fba4c4110bd764d91c33dced957401f498189c82..acc9649667d024636fc00caaea9ce45d2c565988 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);
 
 }