From 0c7ac6dc71a55dc3bf792d87508bb17ac2b40343 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 14 Nov 1997 02:01:22 +0000 Subject: [PATCH] Initialize 3100 cursor to off, for rcons text mode. (Minimal-distance fix for 1.3 release). --- sys/arch/pmax/dev/pm.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/dev/pm.c b/sys/arch/pmax/dev/pm.c index c4e4e661c21a..33de8f60fc36 100644 --- a/sys/arch/pmax/dev/pm.c +++ b/sys/arch/pmax/dev/pm.c @@ -1,4 +1,4 @@ -/* $NetBSD: pm.c,v 1.22 1997/07/21 05:39:18 jonathan Exp $ */ +/* $NetBSD: pm.c,v 1.23 1997/11/14 02:01:22 jonathan Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -55,6 +55,9 @@ * v 9.2 90/02/13 22:16:24 shirriff Exp SPRITE (DECWRL)"; */ +#include /* RCS ID & Copyright macro defns */ +__KERNEL_RCSID(0, "$NetBSD: pm.c,v 1.23 1997/11/14 02:01:22 jonathan Exp $"); + #include #include @@ -261,7 +264,7 @@ pmattach(fi, unit, cold_console_flag) /* * Initialize the cursor register. */ - pcc->cmdr = curReg = PCC_ENPA | PCC_ENPB; + pcc->cmdr = curReg = 0; /* * Initialize the color map, the screen, and the mouse. @@ -330,6 +333,7 @@ pmLoadCursor(fi, cur) wbflush(); } curReg &= ~PCC_LODSA; + curReg |= PCC_ENPA | PCC_ENPB; pcc->cmdr = curReg; }