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-ap83.c

    r21075 r22700  
    197197        u8 *eeprom = (u8 *) KSEG1ADDR(0x1fff1000); 
    198198 
    199         ar71xx_set_mac_base(eeprom); 
    200  
    201199        ar71xx_add_device_mdio(0xfffffffe); 
    202200 
     201        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, eeprom, 0); 
    203202        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
    204203        ar71xx_eth0_data.phy_mask = 0x1; 
     
    206205        ar71xx_add_device_eth(0); 
    207206 
     207        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, eeprom, 1); 
    208208        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
    209209        ar71xx_eth1_data.speed = SPEED_1000; 
Note: See TracChangeset for help on using the changeset viewer.