Changeset 45599


Ignore:
Timestamp:
2015-05-03T20:00:47+02:00 (3 years ago)
Author:
kaloz
Message:

mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry

This also changes the MAC address to one of the adresses actually used by the
stock firmware on one of the ethernet interfaces.

Signed-off-by: Matthias Schiffer <mschiffer@…>

Location:
trunk/target/linux/mpc85xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network

    r44304 r45599  
    2121        ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" 
    2222        ucidef_add_switch_vlan "switch0" "2" "0t 1" 
    23         ucidef_set_interface_macaddr lan "$(mtd_get_mac_binary config 338)" 
    24         ucidef_set_interface_macaddr wan "$(mtd_get_mac_binary config 344)" 
    2523        ;; 
    2624*) 
  • trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts

    r45597 r45599  
    6464                                }; 
    6565 
    66                                 config@fe0000 { 
     66                                config: config@fe0000 { 
    6767                                        reg = <0x00fe0000 0x00010000>; 
    6868                                        label = "config"; 
     
    119119                        phy-handle = <&phy0>; 
    120120                        phy-connection-type = "rgmii-id"; 
     121                        mtd-mac-address = <&config 0x14c>; 
    121122                }; 
    122123 
Note: See TracChangeset for help on using the changeset viewer.