Revert "ramips: explicitly disable built-in switch for lan-only devices"
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 28 Apr 2020 14:51:41 +0000 (16:51 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 28 Apr 2020 14:53:29 +0000 (16:53 +0200)
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 <freifunk@adrianschmutzler.de>
target/linux/ramips/rt288x/base-files/etc/board.d/02_network
target/linux/ramips/rt3883/base-files/etc/board.d/02_network

index a769bdbc43c0276b76ef7d943b316a9b5f591a78..0cc0e0b28b6989403b3fdb0ab703914d81786868 100755 (executable)
@@ -26,8 +26,6 @@ ramips_setup_interfaces()
                ;;
        buffalo,wli-tx4-ag300n|\
        dlink,dap-1522-a1)
-               ucidef_add_switch "switch0"
-               ucidef_add_switch_attr "switch0" "enable" "false"
                ucidef_set_interface_lan "eth0"
                ;;
        *)
index 5f364cfc0f481cc540072c23f13c367a623aac4a..873c72cea39fd8468ca40dc2bdaa869a54576ad5 100755 (executable)
@@ -27,8 +27,6 @@ ramips_setup_interfaces()
                ;;
        loewe,wmdr-143n|\
        omnima,hpm)
-               ucidef_add_switch "switch0"
-               ucidef_add_switch_attr "switch0" "enable" "false"
                ucidef_set_interface_lan "eth0"
                ;;
        samsung,cy-swr1100)