summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/Kconfig
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-05-14 12:10:59 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-15 12:44:22 -0400
commitba25020e2725308562d60f3d0247218b07a49b9f (patch)
tree0adfe9fb83d11e70565c1f99272efd907c6577f9 /drivers/net/ethernet/stmicro/stmmac/Kconfig
parent902b1607f4fd184de4d1518d19d377528207861e (diff)
downloadtalos-op-linux-ba25020e2725308562d60f3d0247218b07a49b9f.tar.gz
talos-op-linux-ba25020e2725308562d60f3d0247218b07a49b9f.zip
stmmac: add a generic dwmac driver
Create a new driver around the generic device tree match strings in the stmmac platform code. This driver is intended to be used by all platforms that doesn't require any platform specific code to function or is using platform data. Signed-off-by: Joachim Eastwood <manabian@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/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index 7d3af190be55..d4ed2ac3829b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -26,6 +26,18 @@ config STMMAC_PLATFORM
If unsure, say N.
+if STMMAC_PLATFORM
+
+config DWMAC_GENERIC
+ tristate "Generic driver for DWMAC"
+ default STMMAC_PLATFORM
+ ---help---
+ Generic DWMAC driver for platforms that don't require any
+ platform specific code to function or is using platform
+ data for setup.
+
+endif
+
config STMMAC_PCI
tristate "STMMAC PCI bus support"
depends on STMMAC_ETH && PCI
OpenPOWER on IntegriCloud