From: Will Moss Date: Sat, 19 Nov 2022 10:35:33 +0000 (+0000) Subject: ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=106fedd9eddd443d7fc8c18b765becb8f0c7f7f0;p=openwrt%2Fstaging%2Fblocktrron.git ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4 On TP-Link TL-WR740N/TL-WR741ND v4 LAN MAC address (eth1 in DTS) is main device MAC address, so do not increment it. WAN MAC is LAN MAC + 1. Signed-off-by: Will Moss (cherry picked from commit 288b0004bfa981e3dbb8678ee3289509c3930217) --- diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi index b74b8251ce..4d3b1dba1d 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi +++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi @@ -118,7 +118,7 @@ }; }; -ð0 { +ð0 { /* WAN interface, initialized last as eth1 */ status = "okay"; nvmem-cells = <&macaddr_uboot_1fc00>; @@ -133,12 +133,11 @@ }; }; -ð1 { +ð1 { /* LAN interface, initialized first as eth0 */ status = "okay"; nvmem-cells = <&macaddr_uboot_1fc00>; nvmem-cell-names = "mac-address"; - mac-address-increment = <(-1)>; }; &wmac {