aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-07 14:18:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-07 14:18:36 +0000
commitbe866cf5ddc32c1c0d69dbc14662fb04a5cab8ed (patch)
treea91f6506f3327dda09b090a6b9b891ea70fde32d /target/linux/mpc85xx
parent45cd8adccface3d23598f5b7a7d8a6fdf84ca937 (diff)
downloadmaster-187ad058-be866cf5ddc32c1c0d69dbc14662fb04a5cab8ed.tar.gz
master-187ad058-be866cf5ddc32c1c0d69dbc14662fb04a5cab8ed.tar.bz2
master-187ad058-be866cf5ddc32c1c0d69dbc14662fb04a5cab8ed.zip
mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48645 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx')
-rwxr-xr-xtarget/linux/mpc85xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts2
2 files changed, 2 insertions, 1 deletions
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 4c7206c14a..c9645abb7b 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 2325006172..322273e1e7 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 {