From e13a20dad7636a6953568929efdfd73338bf7373 Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Tue, 14 Aug 2018 18:58:16 +0000 Subject: [PATCH] Disable the auto negotiation if the port is set to fixed-link. Tested on SG-3100 (ARMADA38X) and Espresso.bin (A37x0). Fixes the network on espresso.bin. Sponsored by: Rubicon Communications, LLC (Netgate) --- sys/dev/neta/if_mvneta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/neta/if_mvneta.c b/sys/dev/neta/if_mvneta.c index ae3e958b29ec..9b0b2384d74b 100644 --- a/sys/dev/neta/if_mvneta.c +++ b/sys/dev/neta/if_mvneta.c @@ -757,6 +757,7 @@ mvneta_attach(device_t self) } else { /* Fixed-link, use predefined values */ + mvneta_update_autoneg(sc, FALSE); ifmedia_init(&sc->mvneta_ifmedia, 0, mvneta_mediachange, mvneta_mediastatus);