Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 21:21:55 -0500 (CDT)
From:      mdharnois@home.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/19686: splash screen fails
Message-ID:  <200007040221.VAA07683@c1030098-a.wtrlo1.ia.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         19686
>Category:       kern
>Synopsis:       splash screen fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 03 19:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Harnois
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

	i386 with ATI Mach64

>Description:

	splash_bmp fails

>How-To-Repeat:

	try it

>Fix:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Subject: Re: not making a splash 
To: Michael Harnois <mdharnois@home.com>, "Daniel C. Sobral" <dcs@newsguy.com>
cc: yokota@zodiac.mech.utsunomiya-u.ac.jp
Date: Fri, 09 Jun 2000 22:21:49 +0900

Would you guys please test the following patch for 
/sys/modules/bmp/splash_bmp.c and see if it fixes the problem?

Kazu

Index: splash_bmp.c
===================================================================
RCS file: /src/CVS/src/sys/modules/splash/bmp/splash_bmp.c,v
retrieving revision 1.12
diff -u -r1.12 splash_bmp.c
--- splash_bmp.c	2000/04/27 13:37:40	1.12
+++ splash_bmp.c	2000/06/09 13:17:05
@@ -612,7 +612,8 @@
 
 #ifndef PC98
     /* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */
-    if ((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA)) {
+    if (((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA))
+	&& (bmp_info.sdepth <= 4)) {
 	inb(adp->va_crtc_addr + 6);		/* reset flip-flop */
 	outb(ATC, 0x14);
 	outb(ATC, 0);



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007040221.VAA07683>