mirror of https://gitee.com/openkylin/linux.git
bnx2x: added autoneg-restart after link advertisement changes
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>
This commit is contained in:
parent
9e7e8399c5
commit
1b85ae5273
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue