use RI_NO_AUTO for the gdium's early rasops console so we don't try to
allocate memory before kmem is ready
This commit is contained in:
parent
ee8753142e
commit
49fb250a32
|
@ -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 @@ gdium_cnattach(struct gdium_config *gc)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue