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:
73db5ba
)
net/e1000/base: increase ULP timer
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 23 Nov 2016 17:22:45 +0000
(12:22 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:36:48 +0000
(19:36 +0100)
With new hardware (I219), Ultra Low Power (ULP) exit takes significantly
longer time. Therefore, driver must wait longer.
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
89d07e9
..
4a5cef0
100644
(file)
--- a/
drivers/net/e1000/base/e1000_ich8lan.c
+++ b/
drivers/net/e1000/base/e1000_ich8lan.c
@@
-1240,10
+1240,10
@@
s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force)
E1000_WRITE_REG(hw, E1000_H2ME, mac_reg);
}
- /* Poll up to
100msec for ME to clear ULP_CFG_DONE
*/
+ /* Poll up to
300msec for ME to clear ULP_CFG_DONE.
*/
while (E1000_READ_REG(hw, E1000_FWSM) &
E1000_FWSM_ULP_CFG_DONE) {
- if (i++ ==
1
0) {
+ if (i++ ==
3
0) {
ret_val = -E1000_ERR_PHY;
goto out;
}