From owner-cvs-all@FreeBSD.ORG Sat Aug 14 21:43:37 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9740816A4CE; Sat, 14 Aug 2004 21:43:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D1A143D46; Sat, 14 Aug 2004 21:43:37 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7ELhbqO059079; Sat, 14 Aug 2004 21:43:37 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7ELhbHY059078; Sat, 14 Aug 2004 21:43:37 GMT (envelope-from marius) Message-Id: <200408142143.i7ELhbHY059078@repoman.freebsd.org> From: Marius Strobl Date: Sat, 14 Aug 2004 21:43:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_dc.c src/sys/sparc64/include ofw_machdep.h src/sys/sparc64/sparc64 ofw_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2004 21:43:37 -0000 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