124ff4169d
adapter during the system boot. It always assumes there is at least a monochrome adapter. This is rather strange assumption. If there is no dispaly adapter, the console driver cannot be any good... In this patch, scinit() is split into two parts; the first part is now called scvidprobe() which will detect the presence of video card at the CGA or MONO buffer address and returns TRUE if found. It is called during sccnprobe() and scprobe(). Both will fail if no video card is found. The second part, whose name stays the same as before, scinit(), is called from sccninit() and scattach() to complete initialization of the found video card. The keyboard probe code is moved from scprobe() to sckbdprobe(); scprobe() now calls scvidprobe() and sckbdprobe() to carry out device probe. (This is rather a cosmetic change, but it sure makes the code look better organized.) The problem pointed out by Joerg. |
||
---|---|---|
.. | ||
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 |