aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-04-28 16:51:41 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-04-28 16:53:29 +0200
commit03e742dcd82df43ce48c42e96e439e1a4bad14ec (patch)
tree929608d1e29c3c342c711967485c2c271f28ce98 /target
parent8b373892d31e4588c388681d3271643a5c3f6314 (diff)
downloadupstream-03e742dcd82df43ce48c42e96e439e1a4bad14ec.tar.gz
upstream-03e742dcd82df43ce48c42e96e439e1a4bad14ec.tar.bz2
upstream-03e742dcd82df43ce48c42e96e439e1a4bad14ec.zip
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 <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/rt288x/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/ramips/rt3883/base-files/etc/board.d/02_network2
2 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ramips/rt288x/base-files/etc/board.d/02_network b/target/linux/ramips/rt288x/base-files/etc/board.d/02_network
index a769bdbc43..0cc0e0b28b 100755
--- a/target/linux/ramips/rt288x/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/rt288x/base-files/etc/board.d/02_network
@@ -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"
;;
*)
diff --git a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
index 5f364cfc0f..873c72cea3 100755
--- a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
@@ -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)