net: rtl8139: Move functions around
[oweals/u-boot.git] / drivers / net / Kconfig
index 6e436b56abf064e40a639b7c198d5d8f0c574513..bc518f218da6827bf3efa1ffa37e55bf8cdfb8e5 100644 (file)
@@ -1,5 +1,6 @@
 source "drivers/net/phy/Kconfig"
 source "drivers/net/pfe_eth/Kconfig"
+source "drivers/net/fsl-mc/Kconfig"
 
 config DM_ETH
        bool "Enable Driver Model for Ethernet drivers"
@@ -11,6 +12,51 @@ config DM_ETH
          This is currently implemented in net/eth-uclass.c
          Look in include/net.h for details.
 
+config DM_MDIO
+       bool "Enable Driver Model for MDIO devices"
+       depends on DM_ETH && PHYLIB
+       help
+         Enable driver model for MDIO devices
+
+         Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
+         stand-alone devices.  Useful in particular for systems that support
+         DM_ETH and have a stand-alone MDIO hardware block shared by multiple
+         Ethernet interfaces.
+         This is currently implemented in net/mdio-uclass.c
+         Look in include/miiphy.h for details.
+
+config DM_MDIO_MUX
+       bool "Enable Driver Model for MDIO MUX devices"
+       depends on DM_MDIO
+       help
+         Enable driver model for MDIO MUX devices
+
+         Adds UCLASS_MDIO_MUX DM class supporting MDIO MUXes.  Useful for
+         systems that support DM_MDIO and integrate one or multiple muxes on
+         the MDIO bus.
+         This is currently implemented in net/mdio-mux-uclass.c
+         Look in include/miiphy.h for details.
+
+config MDIO_SANDBOX
+       depends on DM_MDIO && SANDBOX
+       default y
+       bool "Sandbox: Mocked MDIO driver"
+       help
+         This driver implements dummy read/write/reset MDIO functions mimicking
+         a bus with a single PHY.
+
+         This driver is used in for testing in test/dm/mdio.c
+
+config MDIO_MUX_SANDBOX
+       depends on DM_MDIO_MUX && MDIO_SANDBOX
+       default y
+       bool "Sandbox: Mocked MDIO-MUX driver"
+       help
+         This driver implements dummy select/deselect ops mimicking a MUX on
+         the MDIO bux.  It uses mdio_sandbox driver as parent MDIO.
+
+         This driver is used for testing in test/dm/mdio.c
+
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
@@ -90,6 +136,13 @@ config BCM6368_ETH
        help
          This driver supports the BCM6368 Ethernet MAC.
 
+config BCMGENET
+       bool "BCMGENET V5 support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the BCMGENET Ethernet MAC.
+
 config DWC_ETH_QOS
        bool "Synopsys DWC Ethernet QOS device support"
        depends on DM_ETH
@@ -151,7 +204,7 @@ config ETH_SANDBOX_RAW
          This driver is a bridge from the bottom of the network stack
          in U-Boot to the RAW AF_PACKET API in Linux. This allows real
          network traffic to be tested from within sandbox. See
-         board/sandbox/README.sandbox for more details.
+         doc/arch/index.rst for more details.
 
 config ETH_DESIGNWARE
        bool "Synopsys Designware Ethernet MAC"
@@ -190,11 +243,17 @@ config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
        bool "FEC Ethernet controller"
-       depends on MX5 || MX6 || MX7 || IMX8 || VF610
+       depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
 
+config FMAN_ENET
+       bool "Freescale FMan ethernet support"
+       depends on ARM || PPC
+       help
+         This driver support the Freescale FMan Ethernet controller
+
 config FTMAC100
        bool "Ftmac100 Ethernet Support"
        help
@@ -226,6 +285,22 @@ config FTGMAC100
          applications.
 
 
+config MCFFEC
+       bool "ColdFire Ethernet Support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the network interface units in the
+         ColdFire family.
+
+config FSLDMAFEC
+        bool "ColdFire DMA Ethernet Support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the network interface units in the
+         ColdFire family.
+
 config MVGBE
        bool "Marvell Orion5x/Kirkwood network interface support"
        depends on KIRKWOOD || ORION5X
@@ -246,6 +321,8 @@ config MVPP2
        bool "Marvell Armada 375/7K/8K network interface support"
        depends on ARMADA_375 || ARMADA_8K
        select PHYLIB
+       select MVMDIO
+       select DM_MDIO
        help
          This driver supports the network interface units in the
          Marvell ARMADA 375, 7K and 8K SoCs.
@@ -269,7 +346,8 @@ config MACB_ZYNQ
 
 config MT7628_ETH
        bool "MediaTek MT7628 Ethernet Interface"
-       depends on ARCH_MT7620
+       depends on SOC_MT7628
+       select PHYLIB
        help
          The MediaTek MT7628 ethernet interface is used on MT7628 and
          MT7688 based boards.
@@ -537,4 +615,36 @@ config HIGMACV300_ETH
          This driver supports HIGMACV300 Ethernet controller found on
          HiSilicon SoCs.
 
+config FSL_ENETC
+       bool "NXP ENETC Ethernet controller"
+       depends on DM_PCI && DM_ETH && DM_MDIO
+       help
+         This driver supports the NXP ENETC Ethernet controller found on some
+         of the NXP SoCs.
+
+config MDIO_MUX_I2CREG
+       bool "MDIO MUX accessed as a register over I2C"
+       depends on DM_MDIO_MUX && DM_I2C
+       help
+         This driver is used for MDIO muxes driven by writing to a register of
+         an I2C chip.  The board it was developed for uses a mux controlled by
+         on-board FPGA which in turn is accessed as a chip over I2C.
+
+config MVMDIO
+       bool "Marvell MDIO interface support"
+       depends on DM_MDIO
+       help
+         This driver supports the MDIO interface found in the network
+         interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
+         Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
+
+         This driver is used by the MVPP2 and MVNETA drivers.
+
+config FSL_LS_MDIO
+       bool "NXP Layerscape MDIO interface support"
+       depends on DM_MDIO
+       help
+         This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
+         on the mEMAC (which supports both Clauses 22 and 45).
+
 endif # NETDEVICES