net: Remove extraneous dependencies
authorTom Rini <trini@konsulko.com>
Sun, 27 Nov 2022 15:25:02 +0000 (10:25 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 7 Dec 2022 17:20:17 +0000 (12:20 -0500)
With DM_ETH being required now for all drivers, we don't need this
listed on individual drivers as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/Kconfig
drivers/net/bnxt/Kconfig
drivers/net/mscc_eswitch/Kconfig
drivers/net/phy/Kconfig
drivers/net/qe/Kconfig

index 13e434e..db61c27 100644 (file)
@@ -1,7 +1,6 @@
 source "drivers/net/phy/Kconfig"
 source "drivers/net/pfe_eth/Kconfig"
 source "drivers/net/fsl-mc/Kconfig"
-source "drivers/net/bnxt/Kconfig"
 
 config ETH
        def_bool y
@@ -175,6 +174,8 @@ config BCMGENET
        help
          This driver supports the BCMGENET Ethernet MAC.
 
+source "drivers/net/bnxt/Kconfig"
+
 config CORTINA_NI_ENET
        bool "Cortina-Access Ethernet driver"
        depends on CORTINA_PLATFORM
@@ -721,7 +722,6 @@ config RENESAS_RAVB
 config MPC8XX_FEC
        bool "Fast Ethernet Controller on MPC8XX"
        depends on MPC8xx
-       depends on DM_ETH
        select MII
        select SYS_DISCOVER_PHY
        help
index 412ecd4..6ff3ffa 100644 (file)
@@ -1,6 +1,5 @@
 config BNXT_ETH
        bool "BNXT PCI support"
-       depends on DM_ETH
        select PCI_INIT_R
        help
          This driver implements support for bnxt pci controller
index 930d2ef..f978066 100644 (file)
@@ -4,35 +4,35 @@
 
 config MSCC_OCELOT_SWITCH
        bool "Ocelot switch driver"
-       depends on DM_ETH && ARCH_MSCC
+       depends on ARCH_MSCC
        select PHYLIB
        help
          This driver supports the Ocelot network switch device.
 
 config MSCC_LUTON_SWITCH
        bool "Luton switch driver"
-       depends on DM_ETH && ARCH_MSCC
+       depends on ARCH_MSCC
        select PHYLIB
        help
          This driver supports the Luton network switch device.
 
 config MSCC_JR2_SWITCH
        bool "Jaguar2 switch driver"
-       depends on DM_ETH && ARCH_MSCC
+       depends on ARCH_MSCC
        select PHYLIB
        help
          This driver supports the Jaguar2 network switch device.
 
 config MSCC_SERVALT_SWITCH
        bool "Servalt switch driver"
-       depends on DM_ETH && ARCH_MSCC
+       depends on ARCH_MSCC
        select PHYLIB
        help
          This driver supports the Servalt network switch device.
 
 config MSCC_SERVAL_SWITCH
        bool "Serval switch driver"
-       depends on DM_ETH && ARCH_MSCC
+       depends on ARCH_MSCC
        select PHYLIB
        help
          This driver supports the Serval network switch device.
index 86e6981..580ac8e 100644 (file)
@@ -315,7 +315,6 @@ config PHY_XILINX
 
 config PHY_XILINX_GMII2RGMII
        bool "Xilinx GMII to RGMII Ethernet PHYs support"
-       depends on DM_ETH
        help
          This adds support for Xilinx GMII to RGMII IP core. This IP acts
          as bridge between MAC connected over GMII and external phy that
@@ -336,7 +335,6 @@ config PHY_ETHERNET_ID
 
 config PHY_FIXED
        bool "Fixed-Link PHY"
-       depends on DM_ETH
        help
          Fixed PHY is used for having a 'fixed-link' to another MAC with a direct
          connection (MII, RGMII, ...).
@@ -346,7 +344,6 @@ config PHY_FIXED
 
 config PHY_NCSI
        bool "NC-SI based PHY"
-       depends on DM_ETH
 
 endif #PHYLIB
 
index dec88de..e795e91 100644 (file)
@@ -4,6 +4,5 @@
 
 config QE_UEC
        bool "NXP QE UEC Ethernet controller"
-       depends on DM_ETH
        help
          This driver supports the NXP QE UEC ethernet controller