Changeset 37192


Ignore:
Timestamp:
2013-07-08T10:40:18+02:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360

Signed-off-by: Jacek Kikiewicz <jaceq@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

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

    r36578 r37192  
    7777        ath79_register_mdio(0, ~(WNDAP360_LAN_PHYMASK)); 
    7878 
    79         ath79_init_mac(ath79_eth0_data.mac_addr, art, 0); 
     79        /* Reusing wifi MAC with offset of 1 as eth0 MAC */ 
     80        ath79_init_mac(ath79_eth0_data.mac_addr, 
     81                       art + WNDAP360_WMAC0_MAC_OFFSET, 1); 
    8082        ath79_eth0_pll_data.pll_1000 = 0x11110000; 
    8183        ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
Note: See TracChangeset for help on using the changeset viewer.