freebsd-dev/sys/i386/isa/pcvt
Bruce Evans 64a88efa64 Fixed setting of the keyboard LEDs. For some keyboards and/or keyboard
controllers, it is an error to issue a command before the keyboard
has had time to reply to the previous command.  Setting the LEDs
involves issueing 2 commands, so it never worked on these keyboards.

Fixed resetting of keyboard.  It is possible for unprocessed
scancodes to be present when the reset routine is called.  This
usually occurs after switching from one console driver to another
in userconfig.  pcvt and syscons attempt to flush any stale scancodes,
but sometimes fail to do so because keyboard and/or keyboard
controller takes a long time to send the scancodes after reset
(scancodes are apparently not flushed by reset!).  syscons handles
this later by not checking for errors at strategic places, but pcvt
was confused.

Use an impossible initial and failure mode setting for the LEDs
so that the LEDs always get set if they are possibly out of sync.

Added missing spltty() in update_led().
1996-10-14 21:44:05 +00:00
..
pcvt_conf.h Fix many long-standing bugs and problems with pcvt, namely: 1996-08-10 22:14:36 +00:00
pcvt_drv.c Don't claim the console when the driver is disabled. The getc/putc 1996-10-09 15:24:21 +00:00
pcvt_ext.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
pcvt_hdr.h Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
pcvt_kbd.c Fixed setting of the keyboard LEDs. For some keyboards and/or keyboard 1996-10-14 21:44:05 +00:00
pcvt_kbd.h When I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but 1996-08-01 22:38:30 +00:00
pcvt_out.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
pcvt_sup.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
pcvt_tbl.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcvt_vtf.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00