Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 1996 10:54:44 -0700 (MST)
From:      Nate Williams <nate@mt.sri.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, nate@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/i386/isa syscons.c
Message-ID:  <199611191754.KAA00374@rocky.mt.sri.com>
In-Reply-To: <199611191747.EAA07534@godzilla.zeta.org.au>
References:  <199611191747.EAA07534@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Bruce Evans writes:
> >  Modified:    sys/i386/isa  syscons.c
> >  Log:
> >  Fix UserConfig w/syscons.
> >  ...
> >  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
> 
> I have been running with this change for some time.  If userconfig is
> actually used, then the keyboard is unusable.

Before this change, yes I agree.  If sc_port isn't initialized it tries
to read the data from port 0, which doesn't have any keyboard
attached. :)

The code is now almost exactly the same as the previous syscons 'getc'
code, except for some busy waits and such.

> Apparently a scancode
> left over from quitting userconfig is interpreted as the keyboard
> command byte.

Huh?  What context are we talking about here?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611191754.KAA00374>