Skip to content

Commit a54182b

Browse files
vladimirolteandavem330
authored andcommitted
Revert "net: build all switchdev drivers as modules when the bridge is a module"
This reverts commit b0e8181. Explicit driver dependency on the bridge is no longer needed since switchdev_bridge_port_{,un}offload() is no longer implemented by the bridge driver but by switchdev. Signed-off-by: Vladimir Oltean <[email protected]> Tested-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 957e223 commit a54182b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

drivers/net/ethernet/microchip/sparx5/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
config SPARX5_SWITCH
22
tristate "Sparx5 switch driver"
3-
depends on BRIDGE || BRIDGE=n
43
depends on NET_SWITCHDEV
54
depends on HAS_IOMEM
65
depends on OF

drivers/net/ethernet/ti/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ config TI_CPSW
6464
config TI_CPSW_SWITCHDEV
6565
tristate "TI CPSW Switch Support with switchdev"
6666
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
67-
depends on BRIDGE || BRIDGE=n
6867
depends on NET_SWITCHDEV
6968
depends on TI_CPTS || !TI_CPTS
7069
select PAGE_POOL
@@ -110,7 +109,6 @@ config TI_K3_AM65_CPSW_NUSS
110109
config TI_K3_AM65_CPSW_SWITCHDEV
111110
bool "TI K3 AM654x/J721E CPSW Switch mode support"
112111
depends on TI_K3_AM65_CPSW_NUSS
113-
depends on BRIDGE || BRIDGE=n
114112
depends on NET_SWITCHDEV
115113
help
116114
This enables switchdev support for TI K3 CPSWxG Ethernet

0 commit comments

Comments
 (0)