summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig176
1 files changed, 127 insertions, 49 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 5823320b03..13e9ff6924 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
config ARCH_HAS_FEC_IMX
bool
@@ -7,9 +8,6 @@ config HAS_AT91_ETHER
config HAS_CS8900
bool
-config HAS_DESIGNWARE_ETH
- bool
-
config HAS_DM9000
bool
@@ -31,7 +29,7 @@ config DRIVER_NET_AR231X
config DRIVER_NET_ARC_EMAC
bool "ARC Ethernet MAC driver"
- depends on HAS_DMA
+ depends on HAS_DMA && 32BIT
select PHYLIB
help
This option enables support for the ARC EMAC ethernet
@@ -42,13 +40,15 @@ config DRIVER_NET_AT91_ETHER
depends on HAS_AT91_ETHER
select PHYLIB
-config DRIVER_NET_CALXEDA_XGMAC
- bool "Calxeda xgmac"
- depends on HAS_DMA
+config DRIVER_NET_BCMGENET
+ bool "BCMGENET V5 support"
+ select PHYLIB
+ help
+ This driver supports the BCMGENET Ethernet MAC.
config DRIVER_NET_CS8900
bool "cs8900 ethernet driver"
- depends on HAS_CS8900
+ depends on HAS_CS8900 || COMPILE_TEST
config DRIVER_NET_CPSW
bool "CPSW ethernet driver"
@@ -61,61 +61,88 @@ config DRIVER_NET_DAVINCI_EMAC
select PHYLIB
config DRIVER_NET_DESIGNWARE
- bool "Designware Universal MAC1000 ethernet platform support"
+ bool "Designware DWMAC1000 Ethernet driver support" if COMPILE_TEST
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
+ This option is selected by platform glue drivers that contain
+ a DWMAC1000-compatible Ethernet IP.
config DRIVER_NET_DESIGNWARE_GENERIC
- bool "Designware Universal MAC ethernet generic driver"
+ bool "Generic Synopsis Designware Ethernet driver"
+ select DRIVER_NET_DESIGNWARE
+ depends on HAS_DMA
help
- This option enables support for the Synopsys
- Designware Core Univesal MAC 10M/100M/1G ethernet IP on SoCFPGA.
+ This option enables support for the generic Synopsys
+ Designware Core Universal MAC 10M/100M/1G binding. Supported
+ are 3.70a and 3.72. Most integrations additionally require
+ access to platform-specific registers, e.g. for clocking.
+ If you are on such a platform, use the platform specific
+ driver instead.
config DRIVER_NET_DESIGNWARE_SOCFPGA
- bool "Designware Universal MAC ethernet driver for SoCFPGA platforms"
- depends on ARCH_SOCFPGA
+ bool "SOCFPGA Designware Ethernet driver"
+ depends on HAS_DMA && (ARCH_SOCFPGA || COMPILE_TEST)
+ select DRIVER_NET_DESIGNWARE
select MFD_SYSCON
select RESET_CONTROLLER
help
This option enables support for the Synopsys
- Designware Core Univesal MAC 10M/100M/1G ethernet IP on SoCFPGA.
+ Designware Core Universal MAC 10M/100M/1G Ethernet IP on SoCFPGA.
-endif
+config DRIVER_NET_DESIGNWARE_STARFIVE
+ bool "StarFive Designware Ethernet driver"
+ depends on HAS_DMA && (SOC_STARFIVE || COMPILE_TEST)
+ select DRIVER_NET_DESIGNWARE
+ select MFD_SYSCON
+ help
+ This option enables support for the Synopsys
+ Designware Core Universal MAC 10M/100M/1G Ethernet IP on StarFive.
config DRIVER_NET_DESIGNWARE_EQOS
- bool "Designware Designware Ethernet QoS support"
- depends on HAS_DMA
- depends on COMMON_CLK
- depends on OFTREE
+ bool "Designware EQOS (GMAC4) Ethernet driver support" if COMPILE_TEST
+ depends on HAS_DMA && OFTREE
select PHYLIB
help
This option enables support for the Synopsys
Designware Ethernet Quality-of-Service (GMAC4).
-if DRIVER_NET_DESIGNWARE_EQOS
+config DRIVER_NET_DESIGNWARE_IMX8
+ bool "Designware EQOS i.MX Ethernet driver"
+ depends on HAS_DMA && COMMON_CLK && OFTREE && (ARCH_IMX8M || ARCH_IMX93 || COMPILE_TEST)
+ select DRIVER_NET_DESIGNWARE_EQOS
+ select MFD_SYSCON
+ help
+ This option enables support for the Designware EQOS MAC implemented on
+ the NXP i.MX SoCs.
config DRIVER_NET_DESIGNWARE_STM32
- bool "Designware EQOS STM32 driver"
+ bool "STM32 Designware Ethernet driver"
+ depends on HAS_DMA && COMMON_CLK && OFTREE && (ARCH_STM32MP || COMPILE_TEST)
+ select DRIVER_NET_DESIGNWARE_EQOS
select MFD_SYSCON
help
- This option enables support for the ethernet MAC on the STM32MP platforms.
+ This option enables support for the Ethernet MAC on the STM32MP platforms.
config DRIVER_NET_DESIGNWARE_TEGRA186
- bool "Designware Universal MAC ethernet driver for Tegra 186 platforms"
+ bool "Tegra 186/194 Designware Ethernet driver"
+ depends on HAS_DMA && COMMON_CLK && OFTREE && (ARCH_TEGRA || COMPILE_TEST)
+ select DRIVER_NET_DESIGNWARE_EQOS
select RESET_CONTROLLER
help
- This option enables support for the ethernet MAC on the Tegra186 & 194.
+ This option enables support for the Ethernet MAC on the Tegra186 & 194.
-endif
+config DRIVER_NET_DESIGNWARE_ROCKCHIP
+ bool "Rockchip Designware Ethernet driver"
+ select DRIVER_NET_DESIGNWARE_EQOS
+ depends on HAS_DMA && COMMON_CLK && OFTREE && (ARCH_ROCKCHIP || COMPILE_TEST)
+ select MFD_SYSCON
+ help
+ This option enables support for the Ethernet MAC on different Rockchip SoCs
config DRIVER_NET_DM9K
bool "Davicom dm9k[E|A|B] ethernet driver"
- depends on HAS_DM9000
+ depends on HAS_DM9000 || COMPILE_TEST
select PHYLIB
config DRIVER_NET_E1000
@@ -157,9 +184,19 @@ config DRIVER_NET_ETHOC
config DRIVER_NET_FEC_IMX
bool "i.MX FEC Ethernet driver"
- depends on ARCH_HAS_FEC_IMX
+ depends on ARCH_HAS_FEC_IMX || COMPILE_TEST
+ depends on HAS_DMA
select PHYLIB
+config DRIVER_NET_FSL_ENETC
+ bool "Freescale enetc ethernet driver"
+ select PHYLIB
+ depends on PCI
+ depends on HAS_DMA
+ help
+ This option enables support for the Freescale enetc core found
+ on Layerscape SoCs.
+
config DRIVER_NET_FSL_FMAN
bool "Freescale fman ethernet driver"
select PHYLIB
@@ -182,7 +219,8 @@ config DRIVER_NET_KS8851_MLL
config DRIVER_NET_MACB
bool "macb Ethernet driver"
- depends on HAS_MACB
+ depends on HAS_MACB || COMPILE_TEST
+ depends on HAS_DMA
select PHYLIB
config DRIVER_NET_MICREL
@@ -212,7 +250,6 @@ config DRIVER_NET_ORION
config DRIVER_NET_RTL8139
bool "RealTek RTL-8139 PCI Ethernet driver"
depends on PCI
- depends on MIPS
select PHYLIB
help
This is a driver for the Fast Ethernet PCI network cards based on
@@ -223,6 +260,7 @@ config DRIVER_NET_RTL8169
depends on PCI
depends on HAS_DMA
select PHYLIB
+ select REALTEK_PHY
help
This is a driver for the Fast Ethernet PCI network cards based on
the RTL 8169 chips.
@@ -243,11 +281,18 @@ config DRIVER_NET_SMC91111
config DRIVER_NET_TAP
bool "tap Ethernet driver"
- depends on LINUX
+ depends on SANDBOX
config DRIVER_NET_EFI_SNP
bool "EFI SNP ethernet driver"
- depends on EFI_BOOTUP
+ depends on EFI_PAYLOAD
+
+config DRIVER_NET_VIRTIO
+ bool "virtio net driver"
+ depends on VIRTIO
+ help
+ This is the virtual net driver for virtio. It can be used with
+ QEMU based targets.
config DRIVER_NET_AG71XX
bool "Atheros AG71xx ethernet driver"
@@ -256,24 +301,57 @@ config DRIVER_NET_AG71XX
help
This option enables support for Atheros AG71XX ethernet chip.
-config DRIVER_NET_TSE
- depends on NIOS2
- bool "Altera TSE ethernet driver"
+config DRIVER_NET_LITEETH
+ bool "LiteX ethernet driver"
select PHYLIB
+ select MDIO_BITBANG
help
- This option enables support for the Altera TSE MAC.
-
-config TSE_USE_DEDICATED_DESC_MEM
- depends on DRIVER_NET_TSE
- bool "Altera TSE uses dedicated descriptor memory"
- help
- This option tells the TSE driver to use an onchip memory
- to store SGDMA descriptors. Descriptor memory is not
- reserved with a malloc but directly mapped to the memory
- address (defined in config.h)
+ This option enables support for the LiteX LiteEth
+ ethernet IP core.
source "drivers/net/phy/Kconfig"
source "drivers/net/usb/Kconfig"
+menuconfig DSA
+ bool "Distributed Switch Architecture (DSA)"
+ select PHYLIB
+
+if DSA
+
+config DRIVER_NET_KSZ8873
+ bool "KSZ8873 switch driver"
+ help
+ This option enables support for the Microchip KSZ8873
+ switch chip.
+
+config DRIVER_NET_KSZ9477
+ bool "KSZ9477 switch driver"
+ depends on SPI || I2C
+ select REGMAP_SPI if SPI
+ select REGMAP_I2C if I2C
+ help
+ This option enables support for the Microchip KSZ9477
+ switch chip.
+
+config DRIVER_NET_SJA1105
+ bool "NXP SJA1105 Ethernet switch family driver"
+ depends on SPI
+ select BITREV
+ help
+ This is the driver for the NXP SJA1105 automotive Ethernet switch
+ family. These are 5-port devices and are managed over an SPI
+ interface. Probing is handled based on OF bindings. The driver
+ supports the following revisions:
+ - SJA1105E (Gen. 1, No TT-Ethernet)
+ - SJA1105T (Gen. 1, TT-Ethernet)
+ - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
+ - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
+ - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
+ - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
+
+source "drivers/net/realtek-dsa/Kconfig"
+
+endif
+
endmenu