git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d55afe
)
net/e1000/base: increase LANPHYPC low duration
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 23 Nov 2016 17:22:53 +0000
(12:22 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:36:48 +0000
(19:36 +0100)
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 <wenzhuo.lu@intel.com>
drivers/net/e1000/base/e1000_ich8lan.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/base/e1000_ich8lan.c
b/drivers/net/e1000/base/e1000_ich8lan.c
index
212526f
..
0ac982c
100644
(file)
--- 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);