ar71xx: ap1 + jb02: fix mac address

This commit is contained in:
Alexander Couzens 2015-03-17 18:32:40 +01:00
parent b240f36506
commit 7ddeeba72a
1 changed files with 2 additions and 2 deletions

View File

@ -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);