Ignore:
Timestamp:
2010-08-18T18:00:28+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: change mac address initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c

    r21075 r22700  
    174174        ar71xx_add_device_mdio(~PB44_MDIO_PHYMASK); 
    175175 
     176        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); 
    176177        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
    177178        ar71xx_eth0_data.phy_mask = PB44_WAN_PHYMASK; 
     
    179180        ar71xx_add_device_eth(0); 
    180181 
     182        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, ar71xx_mac_base, 1); 
    181183        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
    182184        ar71xx_eth1_data.speed = SPEED_1000; 
Note: See TracChangeset for help on using the changeset viewer.