Just because we have a serial console attached does not mean we don't

want a splash screen.

There seems to be some confusion in the syscons code as to the meaning of
the SC_KERNEL_CONSOLE flag.  Its absence is sometimes interpreted to mean
"I am not the system console", and sometimes to mean "I am not the only
VGA console" (see the font loading code for an example of the latter).
Someone with better syscons fu than myself should take a closer look.
This commit is contained in:
Dag-Erling Smørgrav 2004-08-05 23:54:04 +00:00
parent 28775a6130
commit 7ba04507e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133186

View File

@ -2764,7 +2764,7 @@ scinit(int unit, int flags)
#endif
#ifdef DEV_SPLASH
if (!(sc->flags & SC_SPLASH_SCRN) && (flags & SC_KERNEL_CONSOLE)) {
if (!(sc->flags & SC_SPLASH_SCRN)) {
/* we are ready to put up the splash image! */
splash_init(sc->adp, scsplash_callback, sc);
sc->flags |= SC_SPLASH_SCRN;