Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Copy the pdc_iodc_read data when creati...



details:   https://anonhg.NetBSD.org/src/rev/7d7da683100d
branches:  trunk
changeset: 760866:7d7da683100d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 14 16:37:11 2011 +0000

description:
Copy the pdc_iodc_read data when creating a device.

diffstat:

 sys/arch/hp700/hp700/autoconf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5bf62bda5a0b -r 7d7da683100d sys/arch/hp700/hp700/autoconf.c
--- a/sys/arch/hp700/hp700/autoconf.c   Fri Jan 14 16:04:49 2011 +0000
+++ b/sys/arch/hp700/hp700/autoconf.c   Fri Jan 14 16:37:11 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index