Subject: kd (keyboard/display) console fixed
To: None <hls@oce.nl>
From: Gordon W. Ross <gwr@jericho.mc.com>
List: port-sun3
Date: 06/02/1994 11:37:39
> From: "Harry Schreurs" <HLS@oce.nl>
> Date:          Thu, 19 May 1994 16:14:05 GMT +0100

[...]
> But the bad part is, that it doesn't respond to my keyboard.
> Watching the #-prompt, I am not able to type in any command!!

The initialization code in the kbd driver was not working, but
it is fixed now.  The old initialization scheme only worked if
kbd_ascii was called before kbd_serial (yuch) and the order of
these calls depends on what autoconfiguration does.  The fixed
code initializes the kbd port upon the first open of either
/dev/kbd or /dev/kd (indirect through /dev/console).

The following files were changed:
	src/sys/arch/sun3/dev/kbd.c
	src/sys/arch/sun3/dev/kd.c

Gordon W. Ross			  Internet: <gwr@mc.com>
Mercury Computer Systems	Voice mail: 508-256-0052x295
199 Riverneck Road		Front desk: 508-256-1300
Chelmsford, MA 01824-2820	 Facsimile: 508-256-3599

------------------------------------------------------------------------------