aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files/etc/board.d
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-04-29 07:23:34 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-05-19 19:03:02 +0800
commita43cbfe2e3a11cbba3f0e92edb96f12531352825 (patch)
treeb5f9f2f6eb2c848e5d79fa545a174e50eb067207 /target/linux/ramips/mt76x8/base-files/etc/board.d
parent597df570f3e131055e4ab00f3516d50fb74e931c (diff)
downloadupstream-a43cbfe2e3a11cbba3f0e92edb96f12531352825.tar.gz
upstream-a43cbfe2e3a11cbba3f0e92edb96f12531352825.tar.bz2
upstream-a43cbfe2e3a11cbba3f0e92edb96f12531352825.zip
ramips: remove default switch setup in 02_network
ramips images now relies on explicit switch setup for proper failsafe functionality. Remove default cases where it relies on vlan setup in dts and add switch setup for devices affected. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index a6543fd38f..d758fe5543 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -122,9 +122,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan:2" "1:lan:1" "4:wan" "6@eth0"
;;
- *)
- ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
- ;;
esac
}