diff options
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 148 |
1 files changed, 101 insertions, 47 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 48d07aca0e..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 @@ -39,6 +40,12 @@ config DRIVER_NET_AT91_ETHER depends on HAS_AT91_ETHER select PHYLIB +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 || COMPILE_TEST @@ -54,71 +61,84 @@ 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 || COMPILE_TEST + 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. config DRIVER_NET_DESIGNWARE_STARFIVE - bool "Designware Universal MAC ethernet driver for StarFive platforms" - depends on SOC_STARFIVE || COMPILE_TEST + 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 Univesal MAC 10M/100M/1G ethernet IP on StarFive. - -endif + 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. config DRIVER_NET_DESIGNWARE_ROCKCHIP - bool "Designware Universal MAC ethernet driver for Rockchip platforms" + 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 - -endif + This option enables support for the Ethernet MAC on different Rockchip SoCs config DRIVER_NET_DM9K bool "Davicom dm9k[E|A|B] ethernet driver" @@ -168,6 +188,15 @@ config DRIVER_NET_FEC_IMX 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 @@ -221,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 @@ -232,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. @@ -256,7 +285,7 @@ config DRIVER_NET_TAP 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" @@ -272,22 +301,6 @@ 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" - select PHYLIB - 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) - config DRIVER_NET_LITEETH bool "LiteX ethernet driver" select PHYLIB @@ -299,5 +312,46 @@ config DRIVER_NET_LITEETH 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 |