Module Name:    src
Committed By:   macallan
Date:           Tue May 11 01:38:15 UTC 2010

Modified Files:
        src/sys/arch/evbmips/gdium: gdium_genfb.c

Log Message:
use RI_NO_AUTO for the gdium's early rasops console so we don't try to
allocate memory before kmem is ready


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/gdium/gdium_genfb.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/evbmips/gdium/gdium_genfb.c
diff -u src/sys/arch/evbmips/gdium/gdium_genfb.c:1.3 src/sys/arch/evbmips/gdium/gdium_genfb.c:1.4
--- src/sys/arch/evbmips/gdium/gdium_genfb.c:1.3	Sat Aug  8 20:48:33 2009
+++ src/sys/arch/evbmips/gdium/gdium_genfb.c	Tue May 11 01:38:14 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: gdium_genfb.c,v 1.3 2009/08/08 20:48:33 matt Exp $	*/
+/*	$NetBSD: gdium_genfb.c,v 1.4 2010/05/11 01:38:14 macallan Exp $	*/
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gdium_genfb.c,v 1.3 2009/08/08 20:48:33 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gdium_genfb.c,v 1.4 2010/05/11 01:38:14 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -83,7 +83,7 @@
 	    PCI_MAPREG_START);
 
 	ri->ri_bits = (char *)MIPS_PHYS_TO_KSEG1(BONITO_PCILO_BASE + reg);
-	ri->ri_flg = RI_CENTER;
+	ri->ri_flg = RI_CENTER | RI_NO_AUTO;
 
 	memset(ri->ri_bits, 0, 0x200000);
 

Reply via email to