MFC: r207242

For the on-board interfaces found in Fujitsu SPARC64 machines obtain the
MAC address via OFW as well.
This commit is contained in:
Marius Strobl 2010-05-10 18:46:37 +00:00
parent 774febca3d
commit 1ffc8e33a9

View File

@ -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) {