Module Name:    src
Committed By:   macallan
Date:           Wed Jan 11 15:53:32 UTC 2012

Modified Files:
        src/sys/arch/sparc64/dev: ffb.c gfb.c

Log Message:
use rasops_init(0, 0)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/sparc64/dev/ffb.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc64/dev/gfb.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/sparc64/dev/ffb.c
diff -u src/sys/arch/sparc64/dev/ffb.c:1.49 src/sys/arch/sparc64/dev/ffb.c:1.50
--- src/sys/arch/sparc64/dev/ffb.c:1.49	Thu Dec 22 05:08:05 2011
+++ src/sys/arch/sparc64/dev/ffb.c	Wed Jan 11 15:53:32 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ffb.c,v 1.49 2011/12/22 05:08:05 macallan Exp $	*/
+/*	$NetBSD: ffb.c,v 1.50 2012/01/11 15:53:32 macallan Exp $	*/
 /*	$OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $	*/
 
 /*
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.49 2011/12/22 05:08:05 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.50 2012/01/11 15:53:32 macallan Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1188,7 +1188,7 @@ ffb_init_screen(void *cookie, struct vco
 #endif
 	DPRINTF(("ffb_init_screen: addr: %08lx\n",(ulong)ri->ri_bits));
 
-	rasops_init(ri, sc->sc_height/8, sc->sc_width/8);
+	rasops_init(ri, 0, 0);
 	ri->ri_caps = WSSCREEN_WSCOLORS;
 	rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight,
 		    sc->sc_width / ri->ri_font->fontwidth);

Index: src/sys/arch/sparc64/dev/gfb.c
diff -u src/sys/arch/sparc64/dev/gfb.c:1.4 src/sys/arch/sparc64/dev/gfb.c:1.5
--- src/sys/arch/sparc64/dev/gfb.c:1.4	Fri Jul  1 18:48:36 2011
+++ src/sys/arch/sparc64/dev/gfb.c	Wed Jan 11 15:53:32 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: gfb.c,v 1.4 2011/07/01 18:48:36 dyoung Exp $	*/
+/*	$NetBSD: gfb.c,v 1.5 2012/01/11 15:53:32 macallan Exp $	*/
 
 /*
  * Copyright (c) 2009 Michael Lorenz
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gfb.c,v 1.4 2011/07/01 18:48:36 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gfb.c,v 1.5 2012/01/11 15:53:32 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -357,7 +357,7 @@ gfb_init_screen(void *cookie, struct vco
 		ri->ri_flg |= RI_CLEAR;
 	}
 
-	rasops_init(ri, sc->sc_height / 8, sc->sc_width / 8);
+	rasops_init(ri, 0, 0);
 	ri->ri_caps = WSSCREEN_WSCOLORS;
 
 	rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight,

Reply via email to