ar71xx: ap1 + jb02: fix mac address

test-seperate-ports
Alexander Couzens 8 years ago
parent b240f36506
commit 7ddeeba72a

@ -80,7 +80,7 @@ static void __init sysmocom_sob_ap1_setup(void)
art + SYSMOCOM_WMAC_MAC_OFFSET);
ath79_setup_ar933x_phy4_switch(false, false);
ath79_init_mac(ath79_eth0_data.mac_addr, art + SYSMOCOM_MAC0_OFFSET, 0);
ath79_init_mac(ath79_eth1_data.mac_addr, art + SYSMOCOM_MAC1_OFFSET, 0);
ath79_register_mdio(0, 0x0);
/* ath79_register_eth(0) is unused because it using the internal switch */
ath79_register_eth(1);
@ -138,7 +138,7 @@ static void __init sysmocom_sob_jb02_setup(void)
art + SYSMOCOM_WMAC_MAC_OFFSET);
ath79_setup_ar933x_phy4_switch(false, false);
ath79_init_mac(ath79_eth0_data.mac_addr, art + SYSMOCOM_MAC0_OFFSET, 0);
ath79_init_mac(ath79_eth1_data.mac_addr, art + SYSMOCOM_MAC1_OFFSET, 0);
ath79_register_mdio(0, 0x0);
/* ath79_register_eth(0) is unused because it using the internal switch */
ath79_register_eth(1);

Loading…
Cancel
Save