Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 vga_posth should be inside NPCI > 0; from J...



details:   https://anonhg.NetBSD.org/src/rev/bf61e3f0e015
branches:  trunk
changeset: 762502:bf61e3f0e015
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Feb 22 06:33:33 2011 +0000

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

diffstat:

 sys/arch/x86/x86/x86_autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 65d6cb66cc00 -r bf61e3f0e015 sys/arch/x86/x86/x86_autoconf.c
--- a/sys/arch/x86/x86/x86_autoconf.c   Tue Feb 22 05:45:05 2011 +0000
+++ b/sys/arch/x86/x86/x86_autoconf.c   Tue Feb 22 06:33:33 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index