diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2013-06-18 07:03:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-19 18:40:21 -0700 |
commit | f5351ef73e476d7019fcd7a1c4461a153f663b4b (patch) | |
tree | 3b9c9f63c24c5d3587b97231b4bc134974b430ad /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 6d3d76f877ca061911343d5d1650458906fdf0ea (diff) | |
download | op-kernel-dev-f5351ef73e476d7019fcd7a1c4461a153f663b4b.zip op-kernel-dev-f5351ef73e476d7019fcd7a1c4461a153f663b4b.tar.gz |
stmmac: fix EEE setup
This patch fixes the EEE setup allowing to configure this support
when the link changes.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 7788fbe..9517697 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -297,8 +297,8 @@ struct dma_features { #define MAC_RNABLE_RX 0x00000004 /* Receiver Enable */ /* Default LPI timers */ -#define STMMAC_DEFAULT_LIT_LS_TIMER 0x3E8 -#define STMMAC_DEFAULT_TWT_LS_TIMER 0x0 +#define STMMAC_DEFAULT_LIT_LS 0x3E8 +#define STMMAC_DEFAULT_TWT_LS 0x0 #define STMMAC_CHAIN_MODE 0x1 #define STMMAC_RING_MODE 0x2 |