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",
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to