Add support for Decstation 5k/240 (3MAXPLUS) to the switch controlling

redirection of console serial input (keyboard, mouse). Fixes non-redirection of
keyboard to X server on a 5k/240.  The Mfb and sfb drivers are similarly broken.
This commit is contained in:
jonathan 1995-07-22 05:04:46 +00:00
parent 9cba2b41ae
commit 1354a15fb5
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cfb.c,v 1.5 1995/04/10 07:31:25 mycroft Exp $ */ /* $NetBSD: cfb.c,v 1.6 1995/07/22 05:04:46 jonathan Exp $ */
/*- /*-
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -941,6 +941,7 @@ cfbConfigMouse()
#endif #endif
#if NSCC > 1 #if NSCC > 1
case DS_3MIN: case DS_3MIN:
case DS_3MAXPLUS:
sccDivertXInput = cfbKbdEvent; sccDivertXInput = cfbKbdEvent;
sccMouseEvent = cfbMouseEvent; sccMouseEvent = cfbMouseEvent;
sccMouseButtons = cfbMouseButtons; sccMouseButtons = cfbMouseButtons;
@ -978,6 +979,7 @@ cfbDeconfigMouse()
#endif #endif
#if NSCC > 1 #if NSCC > 1
case DS_3MIN: case DS_3MIN:
case DS_3MAXPLUS:
sccDivertXInput = (void (*)())0; sccDivertXInput = (void (*)())0;
sccMouseEvent = (void (*)())0; sccMouseEvent = (void (*)())0;
sccMouseButtons = (void (*)())0; sccMouseButtons = (void (*)())0;