Changeset 35446


Ignore:
Timestamp:
2013-02-02T09:47:41+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: fix mac address calculation on the OpenMesh MR600

Signed-off-by: Marek Lindner <marek@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

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

    r35428 r35446  
    141141                                        mr600_gpio_keys); 
    142142 
    143         ath79_init_mac(mac, art + MR600_MAC_OFFSET, -1); 
     143        ath79_init_mac(mac, art + MR600_MAC_OFFSET, 1); 
    144144        ath79_register_wmac(art + MR600_WMAC_CALDATA_OFFSET, mac); 
    145145 
    146         ath79_init_mac(mac, art + MR600_MAC_OFFSET, -2); 
     146        ath79_init_mac(mac, art + MR600_MAC_OFFSET, 8); 
    147147        ap91_pci_init(art + MR600_PCIE_CALDATA_OFFSET, mac); 
    148148 
     
    152152        ath79_register_mdio(0, 0x0); 
    153153 
    154         ath79_init_mac(ath79_eth0_data.mac_addr, art + MR600_MAC_OFFSET, -2); 
     154        ath79_init_mac(ath79_eth0_data.mac_addr, art + MR600_MAC_OFFSET, 0); 
    155155 
    156156        /* GMAC0 is connected to an external PHY */ 
Note: See TracChangeset for help on using the changeset viewer.