Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hpc Set RI_NO_AUTO in ri->ri_flg if hpcfb_init() is ...
details: https://anonhg.NetBSD.org/src/rev/472372c08861
branches: trunk
changeset: 754890:472372c08861
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat May 15 06:01:12 2010 +0000
description:
Set RI_NO_AUTO in ri->ri_flg if hpcfb_init() is invoked from cnattach.
Fixes silent hang on hpcsh and hpcmips.
XXX: all other rasops based console devices need to set this flag??
diffstat:
sys/dev/hpc/hpcfb.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 353711aed54d -r 472372c08861 sys/dev/hpc/hpcfb.c
--- a/sys/dev/hpc/hpcfb.c Sat May 15 05:08:53 2010 +0000
+++ b/sys/dev/hpc/hpcfb.c Sat May 15 06:01:12 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpcfb.c,v 1.53 2010/02/24 22:37:57 dyoung Exp $ */
+/* $NetBSD: hpcfb.c,v 1.54 2010/05/15 06:01:12 tsutsui Exp $ */
/*-
* Copyright (c) 1999
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.53 2010/02/24 22:37:57 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.54 2010/05/15 06:01:12 tsutsui Exp $");
#ifdef _KERNEL_OPT
#include "opt_hpcfb.h"
@@ -451,6 +451,9 @@
#else
ri->ri_flg = RI_CURSOR;
#endif
+ if (dc == &hpcfb_console_dc)
+ ri->ri_flg |= RI_NO_AUTO;
+
switch (ri->ri_depth) {
case 8:
if (32 <= fbconf->hf_pack_width &&
Home |
Main Index |
Thread Index |
Old Index