mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
3d989d58d8
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 |
||
---|---|---|
.. | ||
ic | ||
atrtc.c | ||
fd.c | ||
fdc.h | ||
fdreg.h | ||
joy.c | ||
kbdio.c | ||
kbdio.h | ||
kbdtables.h | ||
rtc.h | ||
sio.c | ||
sioreg.h | ||
syscons.c | ||
syscons.h | ||
timerreg.h |