Date: Sun, 22 Jun 1997 05:04:40 -0700 (PDT) From: Kazutaka YOKOTA <yokota@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c Message-ID: <199706221204.FAA14764@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
yokota 1997/06/22 05:04:40 PDT Modified files: sys/i386/isa syscons.c Log: 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. Revision Changes Path 1.217 +163 -67 src/sys/i386/isa/syscons.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706221204.FAA14764>