Explorar el Código

Revert "ramips: explicitly disable built-in switch for lan-only devices"

This reverts commit a1693bf626f8cd00363b0b98642b682522dfcf75.

The rt288x and rt3883 devices in question don't have switches.
Only keep the merged case for rt305x.

Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler hace 5 años
padre
commit
03e742dcd8

+ 0 - 2
target/linux/ramips/rt288x/base-files/etc/board.d/02_network

@@ -26,8 +26,6 @@ ramips_setup_interfaces()
 		;;
 		;;
 	buffalo,wli-tx4-ag300n|\
 	buffalo,wli-tx4-ag300n|\
 	dlink,dap-1522-a1)
 	dlink,dap-1522-a1)
-		ucidef_add_switch "switch0"
-		ucidef_add_switch_attr "switch0" "enable" "false"
 		ucidef_set_interface_lan "eth0"
 		ucidef_set_interface_lan "eth0"
 		;;
 		;;
 	*)
 	*)

+ 0 - 2
target/linux/ramips/rt3883/base-files/etc/board.d/02_network

@@ -27,8 +27,6 @@ ramips_setup_interfaces()
 		;;
 		;;
 	loewe,wmdr-143n|\
 	loewe,wmdr-143n|\
 	omnima,hpm)
 	omnima,hpm)
-		ucidef_add_switch "switch0"
-		ucidef_add_switch_attr "switch0" "enable" "false"
 		ucidef_set_interface_lan "eth0"
 		ucidef_set_interface_lan "eth0"
 		;;
 		;;
 	samsung,cy-swr1100)
 	samsung,cy-swr1100)