freebsd_amp_hwpstate/sys/dev/syscons
Kazutaka YOKOTA 124ff4169d The syscons driver doesn't really check the presence of the display
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.
1997-06-22 12:04:36 +00:00
..
blank Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
daemon Corrected accidental breakage in the last commit. 1997-05-26 01:02:41 +00:00
fade Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
green Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
snake Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
star Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
syscons.c The syscons driver doesn't really check the presence of the display 1997-06-22 12:04:36 +00:00
syscons.h 1) font loading (two fixes) 1997-05-15 05:43:59 +00:00