From e7115414c8a7e6c4ae6b7e8863f48fcce3b915eb Mon Sep 17 00:00:00 2001 From: lean Date: Fri, 8 Jan 2021 23:10:43 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20=E2=80=9Cramips:=20phicomm=20k2p=2032m?= =?UTF-8?q?=20network=20auto=20config=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 d9efb24de..8ef82534f 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 @@ -64,7 +64,6 @@ ramips_setup_interfaces() ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 ra0 rai0" "wan" ;; phicomm,k2p|\ - phicomm,k2p-32m|\ xiaoyu,xy-c5) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" @@ -159,6 +158,9 @@ ramips_setup_macs() wan_mac=$label_mac lan_mac=$(macaddr_add $label_mac 1) ;; + phicomm,k2p) + wan_mac=$(mtd_get_mac_binary factory 0xe006) + ;; xiaomi,mir3g|\ xiaomi,mi-router-ac2100|\ xiaomi,redmi-router-ac2100)