summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/Kconfig
diff options
context:
space:
mode:
authorChen-Yu Tsai2014-01-17 14:24:41 +0100
committerDavid S. Miller2014-01-20 05:02:02 +0100
commitc5e4ddbdfa1134a36589c1466ed4abb85fe6f976 (patch)
tree908c42eb77eb07e110352b4f26210fffe201760a /drivers/net/ethernet/stmicro/stmmac/Kconfig
parentnet: stmmac: Enable stmmac main clock when probing hardware (diff)
downloadkernel-qcow2-linux-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.tar.gz
kernel-qcow2-linux-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.tar.xz
kernel-qcow2-linux-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.zip
net: stmmac: Add support for optional reset control
The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. 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/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index 6e52c0f74cd9..b59d1ef5f6d4 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -5,6 +5,7 @@ config STMMAC_ETH
select PHYLIB
select CRC32
select PTP_1588_CLOCK
+ select RESET_CONTROLLER
---help---
This is the driver for the Ethernet IPs are built around a
Synopsys IP Core and only tested on the STMicroelectronics