svn commit: r207861 - stable/8/sys/dev/bge

Marius Strobl marius at FreeBSD.org
Mon May 10 18:46:38 UTC 2010


Author: marius
Date: Mon May 10 18:46:37 2010
New Revision: 207861
URL: http://svn.freebsd.org/changeset/base/207861

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

Modified:
  stable/8/sys/dev/bge/if_bge.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/dev/bge/if_bge.c
==============================================================================
--- stable/8/sys/dev/bge/if_bge.c	Mon May 10 18:45:20 2010	(r207860)
+++ stable/8/sys/dev/bge/if_bge.c	Mon May 10 18:46:37 2010	(r207861)
@@ -520,7 +520,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) {


More information about the svn-src-all mailing list