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

    r21443 r22700  
    185185        u8 *eeprom = (u8 *) KSEG1ADDR(0x1fff1000); 
    186186 
    187         ar71xx_set_mac_base(mac); 
    188  
    189187        /* LAN Port */ 
     188        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); 
    190189        ar71xx_eth0_data.mii_bus_dev = &nbg460n_rtl8366s_device.dev; 
    191190        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
     
    194193 
    195194        /* WAN Port */ 
     195        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1); 
    196196        ar71xx_eth1_data.mii_bus_dev = &nbg460n_rtl8366s_device.dev; 
    197197        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
Note: See TracChangeset for help on using the changeset viewer.