Skip to content
Permalink
Browse files
net: Driver for LiteETH network interface
Co-developed-by: David Shah <dave@ds0.me>
Co-developed-by: Gabriel Somlo <gsomlo@gmail.com>
Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
shenki committed Feb 16, 2021
1 parent 8a36472 commit 04f15e4b7c4214c61eaff30bddcd659b0c466460
Show file tree
Hide file tree
Showing 5 changed files with 414 additions and 0 deletions.
@@ -116,6 +116,7 @@ config LANTIQ_XRX200
Support for the PMAC of the Gigabit switch (GSWIP) inside the
Lantiq / Intel VRX200 VDSL SoC

source "drivers/net/ethernet/litex/Kconfig"
source "drivers/net/ethernet/marvell/Kconfig"
source "drivers/net/ethernet/mediatek/Kconfig"
source "drivers/net/ethernet/mellanox/Kconfig"
@@ -50,6 +50,7 @@ obj-$(CONFIG_JME) += jme.o
obj-$(CONFIG_KORINA) += korina.o
obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
obj-$(CONFIG_LANTIQ_XRX200) += lantiq_xrx200.o
obj-$(CONFIG_NET_VENDOR_LITEX) += litex/
obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mediatek/
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
@@ -0,0 +1,28 @@
#
# 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"
depends on LITEX_SOC_CONTROLLER
select NET_CORE
select MII
select PHYLIB
help
If you wish to compile a kernel for hardware with a LiteX LiteEth
device then you should answer Y to this.

endif # NET_VENDOR_LITEX
@@ -0,0 +1,5 @@
#
# Makefile for the LiteX network device drivers.
#

obj-$(CONFIG_LITEX_LITEETH) += litex_liteeth.o

0 comments on commit 04f15e4

Please sign in to comment.