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

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

Modified:
  stable/7/sys/dev/bge/if_bge.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/bge/if_bge.c
==============================================================================
--- stable/7/sys/dev/bge/if_bge.c       Mon May 10 18:46:37 2010        
(r207861)
+++ stable/7/sys/dev/bge/if_bge.c       Mon May 10 18:46:37 2010        
(r207862)
@@ -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) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to