svn commit: r212775 - head/sys/mips/atheros

Andrew Thompson thompsa at FreeBSD.org
Fri Sep 17 01:13:49 UTC 2010


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",


More information about the svn-src-head mailing list