ar71xx: change mac address initialization
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tl-wr841n.c
index fd832d6..74f5c2c 100644 (file)
@@ -115,10 +115,9 @@ static void __init tl_wr841n_v1_setup(void)
 {
        u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
 
-       ar71xx_set_mac_base(mac);
-
        ar71xx_add_device_mdio(0x0);
 
+       ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0);
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth0_data.speed = SPEED_100;
        ar71xx_eth0_data.duplex = DUPLEX_FULL;
This page took 0.02244 seconds and 4 git commands to generate.