freebsd-dev/sys/dev/syscons
Nate Williams 3d989d58d8 Fix UserConfig w/syscons.
The 'getchar' function in syscons (sccngetc) is used by UserConfig to
get keyboard input from the user.  When it was modified to use the
shared keyboard port routines it used the port passed in during the
probe routine.  Since the probe routine was not yet called, the port was
set to 0, which is obviously not going to work.

Pre-initialize sc_port to IO_KBD which is really a kludge, but it's how
the previous driver did it's job.

Found by:	remote GDB
1996-11-19 17:08:10 +00:00
..
blank Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
fade Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
green Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
snake Make snake 3.0-CURRENT here. 1996-11-11 14:18:40 +00:00
star Added or restored #include of <machine/md_var.h>. Some declarations 1996-07-01 20:29:10 +00:00
syscons.c Fix UserConfig w/syscons. 1996-11-19 17:08:10 +00:00
syscons.h Allow us to enable the 'XT_KEYBOARD' code using a configuration flag. 1996-11-10 16:44:13 +00:00