From 5cda50e8670180ce3123f6917d7025b220a07752 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Wed, 23 Nov 2016 12:22:51 -0500 Subject: [PATCH] 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 --- drivers/net/e1000/base/e1000_ich8lan.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.20.1