Author: nbd
Date: 2016-02-07 15:18:36 +0100 (Sun, 07 Feb 2016)
New Revision: 48645

Modified:
   trunk/target/linux/mpc85xx/base-files/etc/board.d/02_network
   trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
Log:
mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/target/linux/mpc85xx/base-files/etc/board.d/02_network
===================================================================
--- trunk/target/linux/mpc85xx/base-files/etc/board.d/02_network        
2016-02-07 13:29:34 UTC (rev 48644)
+++ trunk/target/linux/mpc85xx/base-files/etc/board.d/02_network        
2016-02-07 14:18:36 UTC (rev 48645)
@@ -14,6 +14,7 @@
 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"

Modified: 
trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
===================================================================
--- trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts    
2016-02-07 13:29:34 UTC (rev 48644)
+++ trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts    
2016-02-07 14:18:36 UTC (rev 48645)
@@ -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 {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to