Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/gdium use RI_NO_AUTO for the gdium's early ...



details:   https://anonhg.NetBSD.org/src/rev/62851b43f53e
branches:  trunk
changeset: 754735:62851b43f53e
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue May 11 01:38:14 2010 +0000

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

diffstat:

 sys/arch/evbmips/gdium/gdium_genfb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f5e25a569762 -r 62851b43f53e sys/arch/evbmips/gdium/gdium_genfb.c
--- a/sys/arch/evbmips/gdium/gdium_genfb.c      Mon May 10 20:28:05 2010 +0000
+++ b/sys/arch/evbmips/gdium/gdium_genfb.c      Tue May 11 01:38:14 2010 +0000
@@ -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);
 



Home | Main Index | Thread Index | Old Index