Subject: Console initialisation
To: None <port-pmax@netbsd.org>
From: Philip Tait <pjt@phxlab.honeywell.com>
List: port-pmax
Date: 10/19/2000 12:04:36
This is a follow-up to the issue reported in bug #9109, where the mouse
and keyboard ports are not available for use as generic serial ports
when the system is configured with no framebuffer, when using the
GENERIC kernel.
I just tried this with 1.5 ALPHA_2, and find that the mouse port is now
usable as a serial port. Looking in syssrc/sys/arch/pmax/tc/scc.c, I
see that there appears to be the following test for a framebuffer
console in scc_mouse_init()
if (major(cn_tab->cn_dev) != RCONSDEV)
which bypasses the call to MouseInit().
Might the same test be done in scc_kbd_init() before calling KBDReset()?
I'm in the process of downloading source to try this myself, but I'd
appreciate some guidance as to the appropriateness of this "fix".
--
Philip J. Tait.....Honeywell, Phoenix, Az...pjt@phxlab.honeywell.com