From c1f902841ce3c759a4dddbf02ccc8012e4c50162 Mon Sep 17 00:00:00 2001 From: Steffen Trumtrar Date: Wed, 10 Jan 2018 09:14:17 +0100 Subject: net: designware: move probe to generic driver The designware ethernet core is used on multiple different SoCs. The linux kernel has a generic driver and SoC-specific drivers. Do the same here. Signed-off-by: Steffen Trumtrar Signed-off-by: Sascha Hauer --- drivers/net/Kconfig | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'drivers/net/Kconfig') diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9d69b6aeb0..36b257f43e 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -64,13 +64,23 @@ config DRIVER_NET_DAVINCI_EMAC select PHYLIB config DRIVER_NET_DESIGNWARE - bool "Designware Universal MAC ethernet driver" + bool "Designware Universal MAC ethernet platform support" depends on HAS_DMA select PHYLIB help This option enables support for the Synopsys Designware Core Univesal MAC 10M/100M/1G ethernet IP. +if DRIVER_NET_DESIGNWARE + +config DRIVER_NET_DESIGNWARE_GENERIC + bool "Designware Universal MAC ethernet generic driver" + help + This option enables support for the Synopsys + Designware Core Univesal MAC 10M/100M/1G ethernet IP on SoCFPGA. + +endif + config DRIVER_NET_DM9K bool "Davicom dm9k[E|A|B] ethernet driver" depends on HAS_DM9000 -- cgit v1.2.3