summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/Kconfig
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2014-03-27 07:45:10 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-28 23:06:32 +0400
commit801d233b7302eeab94750427a623c10c044cb0ca (patch)
tree30762d1b0832ec386d2a2b9bdbea890ba1c82086 /drivers/net/ethernet/stmicro/stmmac/Kconfig
parentbfd2793c9559ae73ae021797f1d4b097c27f24be (diff)
downloadlinux-801d233b7302eeab94750427a623c10c044cb0ca.tar.xz
net: stmmac: Add SOCFPGA glue driver
Like the STi and sunxi series SOCs, Altera's SOCFPGA also needs a glue layer on top of the Synopsys gmac IP. This patch adds the platform driver for the glue layer which configures the IP before the generic STMMAC driver takes over. Signed-off-by: Dinh Nguyen <dinguyen@altera.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/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index f2d7c702c77f..2d09c116cbc8 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -26,6 +26,16 @@ config STMMAC_PLATFORM
If unsure, say N.
+config DWMAC_SOCFPGA
+ bool "SOCFPGA dwmac support"
+ depends on STMMAC_PLATFORM && MFD_SYSCON && (ARCH_SOCFPGA || COMPILE_TEST)
+ help
+ Support for ethernet controller on Altera SOCFPGA
+
+ This selects the Altera SOCFPGA SoC glue layer support
+ for the stmmac device driver. This driver is used for
+ arria5 and cyclone5 FPGA SoCs.
+
config DWMAC_SUNXI
bool "Allwinner GMAC support"
depends on STMMAC_PLATFORM && ARCH_SUNXI