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) { _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"