Browse Source

ar71xx: C58/C59 fix LAN1 working incorrectly

This commit fixes LAN Port 1 not transferring data in case no
other LAN Port has active link-state on TP-Link Archer C58/C59.

Signed-off-by: David Bauer <mail@david-bauer.net>
v19.07.3_mercusys_ac12_duma
David Bauer 5 years ago
committed by Matthias Schiffer
parent
commit
5a8e9846af
No known key found for this signature in database GPG Key ID: 16EF3F64CB201D9C
  1. 2
      target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c

2
target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c

@ -249,7 +249,7 @@ static void __init archer_c5x_v1_setup(void)
ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;
ath79_eth1_data.speed = SPEED_1000;
ath79_eth1_data.duplex = DUPLEX_FULL;
ath79_switch_data.phy_poll_mask |= BIT(4);
ath79_switch_data.phy_poll_mask |= BIT(0);
ath79_switch_data.phy4_mii_en = 1;
ath79_register_eth(1);

Loading…
Cancel
Save