diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-05-14 12:10:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-15 12:44:22 -0400 |
commit | ba25020e2725308562d60f3d0247218b07a49b9f (patch) | |
tree | 0adfe9fb83d11e70565c1f99272efd907c6577f9 /drivers/net/ethernet/stmicro/stmmac/Kconfig | |
parent | 902b1607f4fd184de4d1518d19d377528207861e (diff) | |
download | talos-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/Kconfig | 12 |
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 |