Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci We need to initialize the PCI chipset and d...



details:   https://anonhg.NetBSD.org/src/rev/9b4907a8961f
branches:  trunk
changeset: 768560:9b4907a8961f
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Aug 20 19:06:57 2011 +0000

description:
We need to initialize the PCI chipset and device tags in the softc for
the suspend and resume handlers.

diffstat:

 sys/arch/x86/pci/pchb.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r bfe0e7793eda -r 9b4907a8961f sys/arch/x86/pci/pchb.c
--- a/sys/arch/x86/pci/pchb.c   Sat Aug 20 16:10:02 2011 +0000
+++ b/sys/arch/x86/pci/pchb.c   Sat Aug 20 19:06:57 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.27 2011/08/18 20:55:20 jakllsch Exp $ */
+/*     $NetBSD: pchb.c,v 1.28 2011/08/20 19:06:57 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.27 2011/08/18 20:55:20 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.28 2011/08/20 19:06:57 jakllsch Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -168,6 +168,8 @@
        attachflags = pa->pa_flags;
 
        sc->sc_dev = self;
+       sc->sc_pc = pa->pa_pc;
+       sc->sc_tag = pa->pa_tag;
 
        /*
         * Print out a description, and configure certain chipsets which



Home | Main Index | Thread Index | Old Index