diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c index eb129da..195054c 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c @@ -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 |