Module Name:    src
Committed By:   macallan
Date:           Thu May 24 00:40:12 UTC 2012

Modified Files:
        src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
copy properties for valkyriefb as well


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_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/powerpc/oea/ofw_autoconf.c
diff -u src/sys/arch/powerpc/oea/ofw_autoconf.c:1.15 src/sys/arch/powerpc/oea/ofw_autoconf.c:1.16
--- src/sys/arch/powerpc/oea/ofw_autoconf.c:1.15	Sun Jul 17 20:54:46 2011
+++ src/sys/arch/powerpc/oea/ofw_autoconf.c	Thu May 24 00:40:11 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_autoconf.c,v 1.15 2011/07/17 20:54:46 joerg Exp $ */
+/* $NetBSD: ofw_autoconf.c,v 1.16 2012/05/24 00:40:11 macallan Exp $ */
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
  * Copyright (C) 1995, 1996 TooLs GmbH.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.15 2011/07/17 20:54:46 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.16 2012/05/24 00:40:11 macallan Exp $");
 
 #ifdef ofppc
 #include "gtpci.h"
@@ -219,6 +219,15 @@ device_register(device_t dev, void *aux)
 		parent = dev;
 		return;
 	}
+
+	if (device_is_a(dev, "valkyriefb")) {
+		struct confargs *ca = aux;
+		prop_dictionary_t dict;
+
+		dict = device_properties(dev);
+		copy_disp_props(dev, ca->ca_node, dict);
+	}
+
 #if NGTPCI > 0
 	if (device_is_a(dev, "gtpci")) {
 		extern struct gtpci_prot gtpci0_prot, gtpci1_prot;

Reply via email to