Module Name:    src
Committed By:   skrll
Date:           Fri Jan 14 16:37:11 UTC 2011

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

Log Message:
Copy the pdc_iodc_read data when creating a device.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/hp700/hp700/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/hp700/hp700/autoconf.c
diff -u src/sys/arch/hp700/hp700/autoconf.c:1.36 src/sys/arch/hp700/hp700/autoconf.c:1.37
--- src/sys/arch/hp700/hp700/autoconf.c:1.36	Thu Jan 13 21:15:14 2011
+++ src/sys/arch/hp700/hp700/autoconf.c	Fri Jan 14 16:37:11 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.36 2011/01/13 21:15:14 skrll Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.37 2011/01/14 16:37:11 skrll Exp $	*/
 
 /*	$OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $	*/
 
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.36 2011/01/13 21:15:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.37 2011/01/14 16:37:11 skrll Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_useleds.h"
@@ -669,6 +669,7 @@
 	nhm = kmem_zalloc(sizeof(*nhm), KM_SLEEP);
 
 	nhm->hm_registered = false;
+	nhm->hm_pir = hm->hm_pir;
 	nhm->hm_type = hm->hm_type;
 	nhm->hm_dp = hm->hm_dp;
 	nhm->hm_hpa = hm->hm_hpa;

Reply via email to