Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/iomd Pass RI_NO_AUTO to rasops_init so that ras...
details: https://anonhg.NetBSD.org/src/rev/01b61f30c14c
branches: trunk
changeset: 773724:01b61f30c14c
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Feb 14 13:04:51 2012 +0000
description:
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.
diffstat:
sys/arch/arm/iomd/vidcvideo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8a3f7240cac6 -r 01b61f30c14c sys/arch/arm/iomd/vidcvideo.c
--- a/sys/arch/arm/iomd/vidcvideo.c Tue Feb 14 11:44:47 2012 +0000
+++ b/sys/arch/arm/iomd/vidcvideo.c Tue Feb 14 13:04:51 2012 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index