diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-01-17 21:24:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 20:02:02 -0800 |
commit | c5e4ddbdfa1134a36589c1466ed4abb85fe6f976 (patch) | |
tree | 908c42eb77eb07e110352b4f26210fffe201760a /drivers/net/ethernet/stmicro/stmmac/Kconfig | |
parent | 62866e98737e77c87f9dec99edea76ab54360770 (diff) | |
download | talos-op-linux-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.tar.gz talos-op-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/Kconfig | 1 |
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 |