summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/Kconfig
diff options
context:
space:
mode:
authorLABBE Corentin2017-05-31 09:18:36 +0200
committerDavid S. Miller2017-06-01 20:53:04 +0200
commit9f93ac8d4085f718d3c7c5fedcb98dbdd2287648 (patch)
tree603444cf6dc165a2f1e5f574b5f5346a56289f04 /drivers/net/ethernet/stmicro/stmmac/Kconfig
parentdt-bindings: syscon: Add DT bindings documentation for Allwinner syscon (diff)
downloadkernel-qcow2-linux-9f93ac8d4085f718d3c7c5fedcb98dbdd2287648.tar.gz
kernel-qcow2-linux-9f93ac8d4085f718d3c7c5fedcb98dbdd2287648.tar.xz
kernel-qcow2-linux-9f93ac8d4085f718d3c7c5fedcb98dbdd2287648.zip
net-next: stmmac: Add dwmac-sun8i
The dwmac-sun8i is a heavy hacked version of stmmac hardware by allwinner. In fact the only common part is the descriptor management and the first register function. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/Kconfig')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index cfbe3634dfa1..85c0e41f8021 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -145,6 +145,17 @@ config DWMAC_SUNXI
This selects Allwinner SoC glue layer support for the
stmmac device driver. This driver is used for A20/A31
GMAC ethernet controller.
+
+config DWMAC_SUN8I
+ tristate "Allwinner sun8i GMAC support"
+ default ARCH_SUNXI
+ depends on OF && (ARCH_SUNXI || COMPILE_TEST)
+ ---help---
+ Support for Allwinner H3 A83T A64 EMAC ethernet controllers.
+
+ This selects Allwinner SoC glue layer support for the
+ stmmac device driver. This driver is used for H3/A83T/A64
+ EMAC ethernet controller.
endif
config STMMAC_PCI