Date: Sat, 14 Aug 2004 21:43:37 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c src/sys/sparc64/include ofw_machdep.h src/sys/sparc64/sparc64 ofw_machdep.c Message-ID: <200408142143.i7ELhbHY059078@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2004-08-14 21:43:37 UTC FreeBSD src repository Modified files: sys/pci if_dc.c sys/sparc64/include ofw_machdep.h sys/sparc64/sparc64 ofw_machdep.c Log: - Make OF_getetheraddr() honour the "local-mac-address?" system config variable. If set to "true" OF_getetheraddr() will now return the unique MAC address stored in the "local-mac-address" property of the device's OFW node if present and the host address/system default MAC address if the node doesn't doesn't have such a property. If set to "false" the host address will be returned for all devices like before this change. This brings the behaviour of device drivers for NICs with OFW support/ FCode, i.e. dc(4) for on-board DM9102A on Sun machines, gem(4) and hme(4), regarding "local-mac-address?" in line with NetBSD and Solaris. The man pages of the respective drivers will be updated separately to reflect this change. - Remove OF_getetheraddr2() which was used as a stopgap in dc(4). Its functionality is now part of OF_getetheraddr(). Revision Changes Path 1.148 +1 -1 src/sys/pci/if_dc.c 1.5 +0 -1 src/sys/sparc64/include/ofw_machdep.h 1.11 +11 -11 src/sys/sparc64/sparc64/ofw_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408142143.i7ELhbHY059078>