Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 18:56:06 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r207242 - head/sys/dev/bge
Message-ID:  <201004261856.o3QIu6PQ070849@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Apr 26 18:56:06 2010
New Revision: 207242
URL: http://svn.freebsd.org/changeset/base/207242

Log:
  For the on-board interfaces found in Fujitsu SPARC64 machines obtain the
  MAC address via OFW as well.

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Mon Apr 26 18:49:06 2010	(r207241)
+++ head/sys/dev/bge/if_bge.c	Mon Apr 26 18:56:06 2010	(r207242)
@@ -519,7 +519,7 @@ bge_has_eaddr(struct bge_softc *sc)
 	 */
 	if (OF_getprop(ofw_bus_get_node(dev), SPARC64_OFW_SUBVENDOR,
 	    &subvendor, sizeof(subvendor)) == sizeof(subvendor) &&
-	    subvendor == SUN_VENDORID)
+	    (subvendor == FJTSU_VENDORID || subvendor == SUN_VENDORID))
 		return (0);
 	memset(buf, 0, sizeof(buf));
 	if (OF_package_to_path(ofw_bus_get_node(dev), buf, sizeof(buf)) > 0) {



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