From: Wenzhuo Lu Date: Wed, 23 Nov 2016 17:22:53 +0000 (-0500) Subject: net/e1000/base: increase LANPHYPC low duration X-Git-Tag: spdx-start~5110 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=35f0408eff510e4b5f46983ef4f7f720c004c252;p=dpdk.git net/e1000/base: increase LANPHYPC low duration LANPHYPC low duration of 10 usec was too low for some corner cases causing interface mismatches during Ultra Low Power (ULP) exit. This patch increases the LANPHYPC low duration to 1 msec. Signed-off-by: Wenzhuo Lu --- diff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c index 212526fd55..0ac982c957 100644 --- a/drivers/net/e1000/base/e1000_ich8lan.c +++ b/drivers/net/e1000/base/e1000_ich8lan.c @@ -277,7 +277,7 @@ STATIC void e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) mac_reg &= ~E1000_CTRL_LANPHYPC_VALUE; E1000_WRITE_REG(hw, E1000_CTRL, mac_reg); E1000_WRITE_FLUSH(hw); - usec_delay(10); + msec_delay(1); mac_reg &= ~E1000_CTRL_LANPHYPC_OVERRIDE; E1000_WRITE_REG(hw, E1000_CTRL, mac_reg); E1000_WRITE_FLUSH(hw);