From owner-cvs-sys Tue Nov 19 09:08:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA17433 for cvs-sys-outgoing; Tue, 19 Nov 1996 09:08:32 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA17414; Tue, 19 Nov 1996 09:08:13 -0800 (PST) Date: Tue, 19 Nov 1996 09:08:13 -0800 (PST) From: Nate Williams Message-Id: <199611191708.JAA17414@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/11/19 09:08:12 Modified: sys/i386/isa syscons.c Log: 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 Revision Changes Path 1.189 +2 -2 src/sys/i386/isa/syscons.c