PERFORCE change 78307 for review

Marcel Moolenaar marcel at FreeBSD.org
Fri Jun 10 03:46:27 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=78307

Change 78307 by marcel at marcel_nfs on 2005/06/10 03:46:01

	Restore the bit mask when we're done with the 16-color
	bitblt. None of the other bitblt variants reset it (as
	they don't use it). This fixes the garbled getty(8)
	output on ttyV0 when vtc(4) is not the console (a 16-
	color beastie is displayed in that case).
	
	Time to get keyboards hooked up so that I can login...

Affected files ...

.. //depot/projects/tty/sys/dev/vtc/hw/vga/vga.c#4 edit

Differences ...

==== //depot/projects/tty/sys/dev/vtc/hw/vga/vga.c#4 (text+ko) ====

@@ -413,6 +413,9 @@
 		dstini += 80;
 		height--;
 	}
+
+	REG_WRITE(sc, VGA_GC_ADDRESS, VGA_GC_BIT_MASK);
+	REG_WRITE(sc, VGA_GC_DATA, 0xff);
 	return (0);
 }
 


More information about the p4-projects mailing list