summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/litex/Kconfig
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2021-08-26 00:21:06 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-26 13:13:52 +0200
commitee7da21ac4c3be1f618b6358e0a38739a5d1773e (patch)
tree9edc9b9580bfff79af8cf88df77517c1635c8d0d /drivers/net/ethernet/litex/Kconfig
parentdt-bindings: net: Add bindings for LiteETH (diff)
downloadlinux-ee7da21ac4c3be1f618b6358e0a38739a5d1773e.tar.xz
linux-ee7da21ac4c3be1f618b6358e0a38739a5d1773e.zip
net: Add driver for LiteX's LiteETH network interface
LiteX is a soft system-on-chip that targets FPGAs. LiteETH is a basic network device that is commonly used in LiteX designs. The driver was first written in 2017 and has been maintained by the LiteX community in various trees. Thank you to all who have contributed. Co-developed-by: Gabriel Somlo <gsomlo@gmail.com> Co-developed-by: David Shah <dave@ds0.me> Co-developed-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Tested-by: Gabriel Somlo <gsomlo@gmail.com> Reviewed-by: Gabriel Somlo <gsomlo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/litex/Kconfig')
-rw-r--r--drivers/net/ethernet/litex/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig
new file mode 100644
index 000000000000..265dba414b41
--- /dev/null
+++ b/drivers/net/ethernet/litex/Kconfig
@@ -0,0 +1,27 @@
+#
+# LiteX device configuration
+#
+
+config NET_VENDOR_LITEX
+ bool "LiteX devices"
+ default y
+ help
+ If you have a network (Ethernet) card belonging to this class, say Y.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about LiteX devices. If you say Y, you will be asked
+ for your specific card in the following questions.
+
+if NET_VENDOR_LITEX
+
+config LITEX_LITEETH
+ tristate "LiteX Ethernet support"
+ help
+ If you wish to compile a kernel for hardware with a LiteX LiteEth
+ device then you should answer Y to this.
+
+ LiteX is a soft system-on-chip that targets FPGAs. LiteETH is a basic
+ network device that is commonly used in LiteX designs.
+
+endif # NET_VENDOR_LITEX