From: Lars Wessels <software@bytebox.org>
Date: Sat, 4 Jul 2020 12:05:18 +0000 (+0200)
Subject: lantiq: added switch-config for ARV752DPW
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f855eb91b3a075ba6849ba0c0139e30ed78820b5;p=openwrt%2Fstaging%2Fldir.git

lantiq: added switch-config for ARV752DPW

Add missing switch config (4 LAN-Ports + CPU).

Grey WAN port (used for ADSL) is not part of the switch.

Signed-off-by: Lars Wessels <software@bytebox.org>
[rework commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
---

diff --git a/target/linux/lantiq/xway/base-files/etc/board.d/02_network b/target/linux/lantiq/xway/base-files/etc/board.d/02_network
index 89368d8bfb..54ace3989c 100755
--- a/target/linux/lantiq/xway/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/xway/base-files/etc/board.d/02_network
@@ -36,6 +36,7 @@ lantiq_setup_interfaces()
 		ucidef_add_switch "switch0" \
 			"0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0"
 		;;
+	arcadyan,arv752dpw|\
 	bt,homehub-v2b)
 		ucidef_add_switch "switch0" \
 			"1:lan" "2:lan" "3:lan" "4:lan" "5t@eth0"