Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vsa Missed to check all possible non-graphics b...



details:   https://anonhg.NetBSD.org/src/rev/1475bac81f36
branches:  trunk
changeset: 532607:1475bac81f36
user:      ragge <ragge%NetBSD.org@localhost>
date:      Mon Jun 10 20:52:11 2002 +0000

description:
Missed to check all possible non-graphics bits on VS2k, causing the
machine to crash during boot. Reported and debugged with help of
Valeriy E. Ushakov.

diffstat:

 sys/arch/vax/vsa/smg.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 49fade8ceb1c -r 1475bac81f36 sys/arch/vax/vsa/smg.c
--- a/sys/arch/vax/vsa/smg.c    Mon Jun 10 20:43:16 2002 +0000
+++ b/sys/arch/vax/vsa/smg.c    Mon Jun 10 20:52:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smg.c,v 1.29 2002/03/17 19:40:52 atatat Exp $ */
+/*     $NetBSD: smg.c,v 1.30 2002/06/10 20:52:11 ragge Exp $ */
 /*
  * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -241,7 +241,8 @@
                return;
        }
        curscr = &smg_conscreen;
-       aa.console = !(vax_confdata & 0x20);
+       aa.console = (vax_confdata & (KA420_CFG_L3CON|KA420_CFG_MULTU)) == 0;
+
        aa.scrdata = &smg_screenlist;
        aa.accessops = &smg_accessops;
        callout_reset(&smg_cursor_ch, hz / 2, smg_crsr_blink, NULL);



Home | Main Index | Thread Index | Old Index