From 9c732c877d02d5d1f63fcf0b286012a22d65ca11 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Sat, 9 May 2020 15:05:57 +0800 Subject: [PATCH] ipq40xx: adjust switch configuration for netgear ex61x0v2 (#4550) --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index a6436ae04..bc9b834a2 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -31,12 +31,11 @@ ipq40xx_setup_interfaces() "0t@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" ;; compex,wpj428) - ucidef_set_interface_lan "eth0 eth1" + ucidef_add_switch "switch0" \ + "0t@eth0" "4:lan" "5:lan" ;; engenius,eap1300|\ meraki,mr33|\ - netgear,ex6100v2|\ - netgear,ex6150v2|\ zyxel,wre6606) ucidef_set_interface_lan "eth0" ;; @@ -52,6 +51,11 @@ ipq40xx_setup_interfaces() ucidef_add_switch "switch0" \ "0t@eth0" "3:lan:2" "4:lan:1" "5:wan" ;; + netgear,ex6100v2|\ + netgear,ex6150v2) + ucidef_add_switch "switch0" \ + "0u@eth0" "4:lan" + ;; p2w,r619ac|\ p2w,r619ac-128m|\ zyxel,nbg6617)