Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 Copy the "shared-pins" property ove...



details:   https://anonhg.NetBSD.org/src/rev/f51526ec1be4
branches:  trunk
changeset: 751012:f51526ec1be4
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 21 15:58:32 2010 +0000

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

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 1e0ca04359fc -r f51526ec1be4 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Thu Jan 21 15:56:08 2010 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Thu Jan 21 15:58:32 2010 +0000
@@ -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:
 



Home | Main Index | Thread Index | Old Index