Module Name:    src
Committed By:   rin
Date:           Sun Mar  7 09:48:33 UTC 2021

Modified Files:
        src/sys/arch/evbppc/explora: consinit.c

Log Message:
No need to clear framebuffer here; rasops(4) takes care of it.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbppc/explora/consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbppc/explora/consinit.c
diff -u src/sys/arch/evbppc/explora/consinit.c:1.11 src/sys/arch/evbppc/explora/consinit.c:1.12
--- src/sys/arch/evbppc/explora/consinit.c:1.11	Sun Mar  7 09:47:00 2021
+++ src/sys/arch/evbppc/explora/consinit.c	Sun Mar  7 09:48:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $	*/
+/*	$NetBSD: consinit.c,v 1.12 2021/03/07 09:48:33 rin Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.12 2021/03/07 09:48:33 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -81,9 +81,6 @@ consinit(void)
 	    COM_FREQ, COM_TYPE_NORMAL,
 	    (TTYDEF_CFLAG & ~(CSIZE | CSTOPB | PARENB)) | CS8);
 #else
-	/* Clear VRam */
-	memset((void *)BASE_FB, 0, SIZE_FB);
-
 	tag = elb_get_bus_space_tag(BASE_FB);
 	fb_cnattach(tag, BASE_FB2, (void *)BASE_FB);
 

Reply via email to