From: DENG Qingfang Date: Thu, 16 Jan 2020 16:24:43 +0000 (+0800) Subject: ramips: fix HiWiFi HC5962 switch configuration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=68f49df31507454f86b72a5c1e250505176baed7;p=openwrt%2Fstaging%2Fblogic.git ramips: fix HiWiFi HC5962 switch configuration HC5962 has only 3 LAN ports, switch port 0 is unused Signed-off-by: DENG Qingfang --- diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 85105c870ba8..84fc283f4f85 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -13,7 +13,6 @@ ramips_setup_interfaces() afoundry,ew1200|\ d-team,pbr-m1|\ firefly,firewrt|\ - hiwifi,hc5962|\ jcg,jhr-ac876m|\ mediatek,ap-mt7621a-v60|\ mediatek,mt7621-eval-board|\ @@ -102,6 +101,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "4:lan" "6@eth0" ;; + hiwifi,hc5962) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" + ;; lenovo,newifi-d1) ucidef_add_switch "switch0" \ "1:lan:2" "2:lan:1" "4:wan" "6@eth0"