aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cortina/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-12 22:34:24 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-15 14:38:55 -0500
commit4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 (patch)
treef1ad3ac842a08eaa2ec8c6f063eff7b0b27fcf14 /drivers/net/ethernet/cortina/Kconfig
parentnet: ethernet: Add DT bindings for the Gemini ethernet (diff)
downloadlinux-dev-4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88.tar.xz
linux-dev-4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88.zip
net: ethernet: Add a driver for Gemini gigabit ethernet
The Gemini ethernet has been around for years as an out-of-tree patch used with the NAS boxen and routers built on StorLink SL3512 and SL3516, later Storm Semiconductor, later Cortina Systems. These ASICs are still being deployed and brand new off-the-shelf systems using it can easily be acquired. The full name of the IP block is "Net Engine and Gigabit Ethernet MAC" commonly just called "GMAC". The hardware block contains a common TCP Offload Enginer (TOE) that can be used by both MACs. The current driver does not use it. Cc: Tobias Waldvogel <tobias.waldvogel@gmail.com> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cortina/Kconfig')
-rw-r--r--drivers/net/ethernet/cortina/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cortina/Kconfig b/drivers/net/ethernet/cortina/Kconfig
new file mode 100644
index 000000000000..0df743ea51f1
--- /dev/null
+++ b/drivers/net/ethernet/cortina/Kconfig
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0
+# Cortina ethernet devices
+
+config NET_VENDOR_CORTINA
+ bool "Cortina Gemini devices"
+ default y
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y
+ and read the Ethernet-HOWTO, available from
+ <http://www.tldp.org/docs.html#howto>.
+
+if NET_VENDOR_CORTINA
+
+config GEMINI_ETHERNET
+ tristate "Gemini Gigabit Ethernet support"
+ depends on OF
+ select PHYLIB
+ select CRC32
+ ---help---
+ This driver supports StorLink SL351x (Gemini) dual Gigabit Ethernet.
+
+endif # NET_VENDOR_CORTINA