mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
stmmac: fix the EEE LPI Macro definitions.
This patch is to fix the definition of macros for EEE otherwise the LPI TX/RX entry/exit cannot be properly managed. 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>
This commit is contained in:
parent
38ab1fa981
commit
162fb1d655
@ -220,10 +220,10 @@ enum dma_irq_status {
|
||||
handle_tx = 0x8,
|
||||
};
|
||||
|
||||
#define CORE_IRQ_TX_PATH_IN_LPI_MODE (1 << 1)
|
||||
#define CORE_IRQ_TX_PATH_EXIT_LPI_MODE (1 << 2)
|
||||
#define CORE_IRQ_RX_PATH_IN_LPI_MODE (1 << 3)
|
||||
#define CORE_IRQ_RX_PATH_EXIT_LPI_MODE (1 << 4)
|
||||
#define CORE_IRQ_TX_PATH_IN_LPI_MODE (1 << 0)
|
||||
#define CORE_IRQ_TX_PATH_EXIT_LPI_MODE (1 << 1)
|
||||
#define CORE_IRQ_RX_PATH_IN_LPI_MODE (1 << 2)
|
||||
#define CORE_IRQ_RX_PATH_EXIT_LPI_MODE (1 << 3)
|
||||
|
||||
#define CORE_PCS_ANE_COMPLETE (1 << 5)
|
||||
#define CORE_PCS_LINK_STATUS (1 << 6)
|
||||
|
Loading…
Reference in New Issue
Block a user