Skip to content
Snippets Groups Projects
Commit 24d51deb authored by juhosg's avatar juhosg
Browse files

ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360


Signed-off-by: default avatarJacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37192 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 6f0e0cbe
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,9 @@ static void __init wndap360_setup(void)
ath79_register_mdio(0, ~(WNDAP360_LAN_PHYMASK));
ath79_init_mac(ath79_eth0_data.mac_addr, art, 0);
/* Reusing wifi MAC with offset of 1 as eth0 MAC */
ath79_init_mac(ath79_eth0_data.mac_addr,
art + WNDAP360_WMAC0_MAC_OFFSET, 1);
ath79_eth0_pll_data.pll_1000 = 0x11110000;
ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = WNDAP360_LAN_PHYMASK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment