diff options
author | Joel Stanley <joel@jms.id.au> | 2016-09-22 01:05:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 09:31:14 +0200 |
commit | e07dc63ba22df2d8bc931821b22938d4ce37a934 (patch) | |
tree | 4a4abdc72506f72f3047a1e4d17eb31e06d1ebe5 /drivers/net/ethernet/faraday/ftgmac100.h | |
parent | net/faraday: Clear stale interrupts (diff) | |
download | linux-e07dc63ba22df2d8bc931821b22938d4ce37a934.tar.xz linux-e07dc63ba22df2d8bc931821b22938d4ce37a934.zip |
net/faraday: Configure old MDIO interface on Aspeed SoCs
The Aspeed SoCs have a new MDIO interface as an option in the G4 and G5
SoCs. The old one is still available, so select it in order to remain
compatible with the ftgmac100 driver.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday/ftgmac100.h')
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.h b/drivers/net/ethernet/faraday/ftgmac100.h index c258586ce4a4..8a377ab1d127 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.h +++ b/drivers/net/ethernet/faraday/ftgmac100.h @@ -134,6 +134,11 @@ #define FTGMAC100_DMAFIFOS_TXDMA_REQ (1 << 31) /* + * Feature Register + */ +#define FTGMAC100_REVR_NEW_MDIO_INTERFACE BIT(31) + +/* * Receive buffer size register */ #define FTGMAC100_RBSR_SIZE(x) ((x) & 0x3fff) |