From owner-svn-src-head@FreeBSD.ORG Fri Sep 17 01:13:49 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B7C31065670; Fri, 17 Sep 2010 01:13:49 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2E28FC16; Fri, 17 Sep 2010 01:13:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o8H1DnwO013950; Fri, 17 Sep 2010 01:13:49 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o8H1Dn92013948; Fri, 17 Sep 2010 01:13:49 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <201009170113.o8H1Dn92013948@svn.freebsd.org> From: Andrew Thompson Date: Fri, 17 Sep 2010 01:13:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212775 - head/sys/mips/atheros X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 01:13:49 -0000 Author: thompsa Date: Fri Sep 17 01:13:48 2010 New Revision: 212775 URL: http://svn.freebsd.org/changeset/base/212775 Log: Make a note of which platforms the mac strings come from. Suggested by: adrian Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_machdep.c ============================================================================== --- head/sys/mips/atheros/ar71xx_machdep.c Fri Sep 17 01:09:12 2010 (r212774) +++ head/sys/mips/atheros/ar71xx_machdep.c Fri Sep 17 01:13:48 2010 (r212775) @@ -235,6 +235,10 @@ platform_start(__register_t a0 __unused, else printf ("envp is invalid\n"); + /* + * "ethaddr" is passed via envp on RedBoot platforms + * "kmac" is passed via argv on RouterBOOT platforms + */ if ((var = getenv("ethaddr")) != NULL || (var = getenv("kmac")) != NULL) { count = sscanf(var, "%x%*c%x%*c%x%*c%x%*c%x%*c%x",