Module Name: src
Committed By: macallan
Date: Wed Jan 11 16:10:14 UTC 2012
Modified Files:
src/sys/dev/sun: bwtwo.c cgsix.c cgthree.c
Log Message:
use rasops_init(0,0)
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/sun/bwtwo.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/sun/cgsix.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sun/cgthree.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/dev/sun/bwtwo.c
diff -u src/sys/dev/sun/bwtwo.c:1.29 src/sys/dev/sun/bwtwo.c:1.30
--- src/sys/dev/sun/bwtwo.c:1.29 Mon May 10 14:33:21 2010
+++ src/sys/dev/sun/bwtwo.c Wed Jan 11 16:10:13 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo.c,v 1.29 2010/05/10 14:33:21 tsutsui Exp $ */
+/* $NetBSD: bwtwo.c,v 1.30 2012/01/11 16:10:13 macallan Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.29 2010/05/10 14:33:21 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.30 2012/01/11 16:10:13 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -453,7 +453,7 @@ bwtwo_init_screen(void *cookie, struct v
memset(sc->sc_fb.fb_pixels, (*defattr >> 16) & 0xff,
sc->sc_stride * sc->sc_height);
- rasops_init(ri, sc->sc_height/8, sc->sc_width/8);
+ rasops_init(ri, 0, 0);
ri->ri_caps = 0;
rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight,
sc->sc_width / ri->ri_font->fontwidth);
Index: src/sys/dev/sun/cgsix.c
diff -u src/sys/dev/sun/cgsix.c:1.50 src/sys/dev/sun/cgsix.c:1.51
--- src/sys/dev/sun/cgsix.c:1.50 Tue Nov 23 22:14:27 2010
+++ src/sys/dev/sun/cgsix.c Wed Jan 11 16:10:13 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: cgsix.c,v 1.50 2010/11/23 22:14:27 mrg Exp $ */
+/* $NetBSD: cgsix.c,v 1.51 2012/01/11 16:10:13 macallan Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.50 2010/11/23 22:14:27 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.51 2012/01/11 16:10:13 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1250,7 +1250,7 @@ cgsix_init_screen(void *cookie, struct v
if (sc->sc_fhcrev < 2)
memset(sc->sc_fb.fb_pixels, (*defattr >> 16) & 0xff,
sc->sc_stride * sc->sc_height);
- rasops_init(ri, sc->sc_height/8, sc->sc_width/8);
+ rasops_init(ri, 0, 0);
ri->ri_caps = WSSCREEN_WSCOLORS | WSSCREEN_REVERSE;
rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight,
sc->sc_width / ri->ri_font->fontwidth);
Index: src/sys/dev/sun/cgthree.c
diff -u src/sys/dev/sun/cgthree.c:1.28 src/sys/dev/sun/cgthree.c:1.29
--- src/sys/dev/sun/cgthree.c:1.28 Tue Sep 14 19:36:13 2010
+++ src/sys/dev/sun/cgthree.c Wed Jan 11 16:10:14 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: cgthree.c,v 1.28 2010/09/14 19:36:13 macallan Exp $ */
+/* $NetBSD: cgthree.c,v 1.29 2012/01/11 16:10:14 macallan Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.28 2010/09/14 19:36:13 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.29 2012/01/11 16:10:14 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -557,7 +557,7 @@ cgthree_init_screen(void *cookie, struct
ri->ri_bits = sc->sc_fb.fb_pixels;
- rasops_init(ri, sc->sc_height/8, sc->sc_width/8);
+ rasops_init(ri, 0, 0);
ri->ri_caps = WSSCREEN_WSCOLORS | WSSCREEN_REVERSE;
rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight,
sc->sc_width / ri->ri_font->fontwidth);