Module Name: src Committed By: tsutsui Date: Sat May 15 06:01:13 UTC 2010
Modified Files: src/sys/dev/hpc: hpcfb.c Log Message: 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?? To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/dev/hpc/hpcfb.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/dev/hpc/hpcfb.c diff -u src/sys/dev/hpc/hpcfb.c:1.53 src/sys/dev/hpc/hpcfb.c:1.54 --- src/sys/dev/hpc/hpcfb.c:1.53 Wed Feb 24 22:37:57 2010 +++ src/sys/dev/hpc/hpcfb.c Sat May 15 06:01:12 2010 @@ -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 &&