From: Wenzhuo Lu Date: Wed, 23 Nov 2016 17:22:51 +0000 (-0500) Subject: net/e1000/base: restore link speed after ULP exit X-Git-Tag: spdx-start~5112 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5cda50e8670180ce3123f6917d7025b220a07752;p=dpdk.git net/e1000/base: restore link speed after ULP exit When Ultra Low Power (ULP) enabled, the client PHY needs to be set up for link configuration after cable reconnected. Previously link configuration was only done in auto-negotiate mode. Do link configuration also in autoneg disabled mode. Signed-off-by: Wenzhuo Lu --- diff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c index 7aea8dd539..4d893d23e0 100644 --- a/drivers/net/e1000/base/e1000_ich8lan.c +++ b/drivers/net/e1000/base/e1000_ich8lan.c @@ -1360,6 +1360,8 @@ s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) if (hw->mac.autoneg) e1000_phy_setup_autoneg(hw); + else + e1000_setup_copper_link_generic(hw); e1000_sw_lcd_config_ich8lan(hw);