diff options
author | nandini sharma <nandini.sharma@st.com> | 2014-08-28 06:11:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-01 05:01:06 (GMT) |
commit | 438a62b16e0aeff5c4a5ab457343cebe4d7278da (patch) | |
tree | 4c33b8e95db98c9749c6f312042c4f0f3d784e5d | |
parent | 162fb1d6559c4dcb454f172248d6d8ffa7a30bf8 (diff) | |
download | linux-438a62b16e0aeff5c4a5ab457343cebe4d7278da.tar.xz |
stmmac: fix LPI TW timer value to 20.5us.
The value for LPI TW timer has to be updated to 0x1E that is the hardcoded value
of 20.5us and it will apply to all EEE enabled Remote PHYs.
Disadvantage is for PHY's that support lesser wakeup time but we can accept it
waiting to implement LLDP to negotiate the Wakeup time of Remote PHY.
Signed-off-by: nandini sharma <nandini.sharma@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 11702d8..e3b81cd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -287,7 +287,7 @@ struct dma_features { /* Default LPI timers */ #define STMMAC_DEFAULT_LIT_LS 0x3E8 -#define STMMAC_DEFAULT_TWT_LS 0x0 +#define STMMAC_DEFAULT_TWT_LS 0x1E #define STMMAC_CHAIN_MODE 0x1 #define STMMAC_RING_MODE 0x2 |