svn commit: r337811 - head/sys/dev/neta

Luiz Otavio O Souza loos at FreeBSD.org
Tue Aug 14 18:58:17 UTC 2018


Author: loos
Date: Tue Aug 14 18:58:16 2018
New Revision: 337811
URL: https://svnweb.freebsd.org/changeset/base/337811

Log:
  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)

Modified:
  head/sys/dev/neta/if_mvneta.c

Modified: head/sys/dev/neta/if_mvneta.c
==============================================================================
--- head/sys/dev/neta/if_mvneta.c	Tue Aug 14 18:58:01 2018	(r337810)
+++ head/sys/dev/neta/if_mvneta.c	Tue Aug 14 18:58:16 2018	(r337811)
@@ -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);
 


More information about the svn-src-head mailing list