Module Name:    src
Committed By:   martin
Date:           Thu Jan 21 15:58:32 UTC 2010

Modified Files:
        src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
Copy the "shared-pins" property over to device_props as well.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/arch/sparc64/sparc64/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/sparc64/autoconf.c
diff -u src/sys/arch/sparc64/sparc64/autoconf.c:1.165 src/sys/arch/sparc64/sparc64/autoconf.c:1.166
--- src/sys/arch/sparc64/sparc64/autoconf.c:1.165	Thu Jan 21 11:43:20 2010
+++ src/sys/arch/sparc64/sparc64/autoconf.c	Thu Jan 21 15:58:32 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.165 2010/01/21 11:43:20 martin Exp $ */
+/*	$NetBSD: autoconf.c,v 1.166 2010/01/21 15:58:32 martin Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.165 2010/01/21 11:43:20 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.166 2010/01/21 15:58:32 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -945,6 +945,8 @@
 			blob = prop_data_create_data(eaddr, ETHER_ADDR_LEN);
 			prop_dictionary_set(dict, "mac-address", blob);
 			prop_object_release(blob);
+			of_to_dataprop(dict, ofnode, "shared-pins",
+			    "shared-pins");
 		}
 noether:
 

Reply via email to