diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-01-17 21:24:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 20:02:41 -0800 |
commit | af0bd4e9ba809391f275d0c094ac0bfbfbb3f430 (patch) | |
tree | 883ebd0c4ccd98de59579a8b665ff7e7bbcf58e7 /drivers/net/ethernet/stmicro/stmmac/Kconfig | |
parent | 022066f50f53000679d31eb407693085f37b3f14 (diff) | |
download | talos-obmc-linux-af0bd4e9ba809391f275d0c094ac0bfbfbb3f430.tar.gz talos-obmc-linux-af0bd4e9ba809391f275d0c094ac0bfbfbb3f430.zip |
net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's
The Allwinner A20 has an ethernet controller that seems to be
an early version of Synopsys DesignWare MAC 10/100/1000 Universal,
which is supported by the stmmac driver.
Allwinner's GMAC requires setting additional registers in the SoC's
clock control unit.
The exact version of the DWMAC IP that Allwinner uses is unknown,
thus the exact feature set is unknown.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
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/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index b59d1ef5f6d4..e2f202e3932f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -26,6 +26,17 @@ config STMMAC_PLATFORM If unsure, say N. +config DWMAC_SUNXI + bool "Allwinner GMAC support" + depends on STMMAC_PLATFORM && ARCH_SUNXI + default y + ---help--- + Support for Allwinner A20/A31 GMAC ethernet controllers. + + This selects Allwinner SoC glue layer support for the + stmmac device driver. This driver is used for A20/A31 + GMAC ethernet controller. + config STMMAC_PCI bool "STMMAC PCI bus support" depends on STMMAC_ETH && PCI |