[FS#296] Ubiquiti Bullet M 10/100 ethernet interface comes up as gigabit, doesn't work

LEDE Bugs lede-bugs at lists.infradead.org
Tue Apr 10 03:55:47 PDT 2018


The following task has a new comment added:

FS#296 - Ubiquiti Bullet M 10/100 ethernet interface comes up as gigabit, doesn't work
User who did this - Russell Senior (russell)

----------
This patch from neoraider fixed it for me:


diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
index 8afb3ad054b8..8dc0be41a3a4 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
@@ -97,7 +97,9 @@ static void __init ubnt_xm_init(void)
 	ap91_pci_init(eeprom, NULL);
 
 	ath79_register_mdio(0, ~UBNT_M_WAN_PHYMASK);
+	ath79_eth0_data.speed = SPEED_100;
 	ath79_init_mac(ath79_eth0_data.mac_addr, mac1, 0);
+	ath79_eth1_data.speed = SPEED_100;
 	ath79_init_mac(ath79_eth1_data.mac_addr, mac2, 0);
 	ath79_register_eth(0);
 }

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=296#comment4574



More information about the lede-bugs mailing list