Module Name:    src
Committed By:   dholland
Date:           Tue Feb 22 06:33:34 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: x86_autoconf.c

Log Message:
vga_posth should be inside NPCI > 0; from Jarle Greipsland in PR 43449.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/x86/x86/x86_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/x86/x86/x86_autoconf.c
diff -u src/sys/arch/x86/x86/x86_autoconf.c:1.57 src/sys/arch/x86/x86/x86_autoconf.c:1.58
--- src/sys/arch/x86/x86/x86_autoconf.c:1.57	Sat Feb 12 19:20:44 2011
+++ src/sys/arch/x86/x86/x86_autoconf.c	Tue Feb 22 06:33:33 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: x86_autoconf.c,v 1.57 2011/02/12 19:20:44 jmcneill Exp $	*/
+/*	$NetBSD: x86_autoconf.c,v 1.58 2011/02/22 06:33:33 dholland Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.57 2011/02/12 19:20:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.58 2011/02/22 06:33:33 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -89,10 +89,10 @@
 static struct genfb_colormap_callback gfb_cb;
 static struct genfb_pmf_callback pmf_cb;
 static struct genfb_mode_callback mode_cb;
-#endif
 #ifdef VGA_POST
 static struct vga_post *vga_posth = NULL;
 #endif
+#endif
 #if NGENFB > 0 && NACPICA > 0 && defined(VGA_POST)
 extern int acpi_md_vbios_reset;
 extern int acpi_md_vesa_modenum;

Reply via email to