Module Name:    src
Committed By:   skrll
Date:           Tue Feb 14 13:04:52 UTC 2012

Modified Files:
        src/sys/arch/arm/iomd: vidcvideo.c

Log Message:
Pass RI_NO_AUTO to rasops_init so that rasops doesn't attempt to allocate
memory as we're too early in kernel startup for this.

My A7000 boots now.

OK releng. ack 3 nak 0.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/iomd/vidcvideo.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/arm/iomd/vidcvideo.c
diff -u src/sys/arch/arm/iomd/vidcvideo.c:1.39 src/sys/arch/arm/iomd/vidcvideo.c:1.40
--- src/sys/arch/arm/iomd/vidcvideo.c:1.39	Fri Jul  1 20:26:35 2011
+++ src/sys/arch/arm/iomd/vidcvideo.c	Tue Feb 14 13:04:51 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcvideo.c,v 1.39 2011/07/01 20:26:35 dyoung Exp $ */
+/* $NetBSD: vidcvideo.c,v 1.40 2012/02/14 13:04:51 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 Reinoud Zandijk
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: vidcvideo.c,v 1.39 2011/07/01 20:26:35 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcvideo.c,v 1.40 2012/02/14 13:04:51 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -267,7 +267,7 @@ vidcvideoinit_screen(void *cookie, struc
 	if ((scr == &dc->dc_console) && (dc->dc_vd.active != NULL))
 		return;
 
-	ri->ri_flg    = 0; /* RI_CENTER | RI_FULLCLEAR; */
+	ri->ri_flg    = RI_NO_AUTO ; /* RI_CENTER | RI_FULLCLEAR; */
 	ri->ri_depth  = dc->dc_depth;
 	ri->ri_bits   = (void *) dc->dc_videobase;
 	ri->ri_width  = dc->dc_width;

Reply via email to