Module Name:    src
Committed By:   macallan
Date:           Thu May  6 04:32:16 UTC 2010

Modified Files:
        src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
set RI_NO_AUTO when initializing the early console - we're so early that
kmem_alloc() can't be used and we don't really need box drawing characters
for the OF font anyway


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/oea/ofw_rascons.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/powerpc/oea/ofw_rascons.c
diff -u src/sys/arch/powerpc/oea/ofw_rascons.c:1.4 src/sys/arch/powerpc/oea/ofw_rascons.c:1.5
--- src/sys/arch/powerpc/oea/ofw_rascons.c:1.4	Wed Mar 10 18:36:05 2010
+++ src/sys/arch/powerpc/oea/ofw_rascons.c	Thu May  6 04:32:16 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: ofw_rascons.c,v 1.4 2010/03/10 18:36:05 kiyohara Exp $	*/
+/*	$NetBSD: ofw_rascons.c,v 1.5 2010/05/06 04:32:16 macallan Exp $	*/
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.4 2010/03/10 18:36:05 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.5 2010/05/06 04:32:16 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -223,7 +223,7 @@
 	ri->ri_depth = depth;
 	ri->ri_stride = linebytes;
 	ri->ri_bits = (char *)fbaddr;
-	ri->ri_flg = RI_CENTER | RI_FULLCLEAR;
+	ri->ri_flg = RI_CENTER | RI_FULLCLEAR | RI_NO_AUTO;
 
 	/* mimic firmware output if we can find the ROM font */
 	if (romfont_loaded) {

Reply via email to