ar71xx: change mac address initialization
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tl-wa901nd.c
index c7779bf50cdc06d9b0f9a6464f6f6fc47d159880..ea4135a3d00ace4b322d77c301a4bc2dbdbeb9a9 100644 (file)
@@ -110,13 +110,12 @@ static void __init tl_wa901nd_setup(void)
        u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
        u8 *ee  = (u8 *) KSEG1ADDR(0x1fff1000);
 
-       ar71xx_set_mac_base(mac);
-
        /*
         * ar71xx_eth0 would be the WAN port, but is not connected on
         * the TL-WA901ND. ar71xx_eth1 connects to the internal switch chip,
         * however we have a single LAN port only.
         */
+       ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 0);
        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth1_data.speed       = SPEED_1000;
        ar71xx_eth1_data.duplex      = DUPLEX_FULL;