View | Details | Raw Unified | Return to bug 19686
Collapse All | Expand All

(-)splash_bmp.c (-1 / +2 lines)
Lines 612-618 Link Here
612
612
613
#ifndef PC98
613
#ifndef PC98
614
    /* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */
614
    /* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */
615
    if ((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA)) {
615
    if (((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA))
616
	&& (bmp_info.sdepth <= 4)) {
616
	inb(adp->va_crtc_addr + 6);		/* reset flip-flop */
617
	inb(adp->va_crtc_addr + 6);		/* reset flip-flop */
617
	outb(ATC, 0x14);
618
	outb(ATC, 0x14);
618
	outb(ATC, 0);
619
	outb(ATC, 0);

Return to bug 19686