From 32dea5d2a93ed1efa10052746fb932b3a2d67770 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 7 Feb 2016 14:18:36 +0000 Subject: [PATCH] mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware Signed-off-by: Felix Fietkau SVN-Revision: 48645 --- target/linux/mpc85xx/base-files/etc/board.d/02_network | 1 + .../linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/mpc85xx/base-files/etc/board.d/02_network b/target/linux/mpc85xx/base-files/etc/board.d/02_network index 4c7206c14a0..c9645abb7bd 100755 --- a/target/linux/mpc85xx/base-files/etc/board.d/02_network +++ b/target/linux/mpc85xx/base-files/etc/board.d/02_network @@ -14,6 +14,7 @@ case "$board" in tl-wdr4900-v1) ucidef_add_switch "switch0" \ "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" + ucidef_set_interface_macaddr wan "$(mtd_get_mac_binary config 332)" ;; *) ucidef_set_interfaces_lan_wan "eth0" "eth1" diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 2325006172a..322273e1e7f 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -119,7 +119,7 @@ enet0: ethernet@b0000 { phy-handle = <&phy0>; phy-connection-type = "rgmii-id"; - mtd-mac-address = <&config 0x14c>; + mtd-mac-address = <&config 0x144>; }; enet1: ethernet@b1000 { -- 2.30.2