Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 18:58:16 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337811 - head/sys/dev/neta
Message-ID:  <201808141858.w7EIwGZa064378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808141858.w7EIwGZa064378>