Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 01:13:49 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212775 - head/sys/mips/atheros
Message-ID:  <201009170113.o8H1Dn92013948@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009170113.o8H1Dn92013948>