summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.3
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1997-06-22 12:04:36 +0000
committeryokota <yokota@FreeBSD.org>1997-06-22 12:04:36 +0000
commit6d701eaf76faf2ebbc25c764ba001943a9d199f3 (patch)
tree54fc6fdca4451d1588fdb4e0219e9bf48739c0b0 /lib/libc/stdlib/system.3
parent10ace94da8fd39a4c5dec7c3cb89156e36d01bb3 (diff)
downloadFreeBSD-src-6d701eaf76faf2ebbc25c764ba001943a9d199f3.zip
FreeBSD-src-6d701eaf76faf2ebbc25c764ba001943a9d199f3.tar.gz
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.
Diffstat (limited to 'lib/libc/stdlib/system.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud