Module Name: src Committed By: jakllsch Date: Sat Aug 20 19:06:57 UTC 2011
Modified Files: src/sys/arch/x86/pci: pchb.c Log Message: We need to initialize the PCI chipset and device tags in the softc for the suspend and resume handlers. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/pci/pchb.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/x86/pci/pchb.c diff -u src/sys/arch/x86/pci/pchb.c:1.27 src/sys/arch/x86/pci/pchb.c:1.28 --- src/sys/arch/x86/pci/pchb.c:1.27 Thu Aug 18 20:55:20 2011 +++ src/sys/arch/x86/pci/pchb.c Sat Aug 20 19:06:57 2011 @@ -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