From owner-p4-projects@FreeBSD.ORG Fri Jun 10 03:46:27 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B48D416A420; Fri, 10 Jun 2005 03:46:26 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E55E16A41C for ; Fri, 10 Jun 2005 03:46:26 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 643CE43D48 for ; Fri, 10 Jun 2005 03:46:26 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5A3kQp2002627 for ; Fri, 10 Jun 2005 03:46:26 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5A3kQlY002624 for perforce@freebsd.org; Fri, 10 Jun 2005 03:46:26 GMT (envelope-from marcel@freebsd.org) Date: Fri, 10 Jun 2005 03:46:26 GMT Message-Id: <200506100346.j5A3kQlY002624@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 78307 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 03:46:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=78307 Change 78307 by marcel@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); }