ar71xx/sysmocom: fix ethernet support of sysmo-ap1 & sysmo-jb02

wrong ethernet mac was used
This commit is contained in:
Alexander Couzens 2015-03-10 13:34:04 +01:00
parent e25ed2fede
commit aa67259629
1 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,8 @@ static void __init sysmocom_sob_ap1_setup(void)
ath79_setup_ar933x_phy4_switch(false, false);
ath79_init_mac(ath79_eth0_data.mac_addr, art + SYSMOCOM_MAC0_OFFSET, 0);
ath79_register_mdio(0, 0x0);
ath79_register_eth(0);
/* ath79_register_eth(0) is unused because it using the internal switch */
ath79_register_eth(1);
ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
@ -139,7 +140,8 @@ static void __init sysmocom_sob_jb02_setup(void)
ath79_setup_ar933x_phy4_switch(false, false);
ath79_init_mac(ath79_eth0_data.mac_addr, art + SYSMOCOM_MAC0_OFFSET, 0);
ath79_register_mdio(0, 0x0);
ath79_register_eth(0);
/* ath79_register_eth(0) is unused because it using the internal switch */
ath79_register_eth(1);
ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |