Module Name: src
Committed By: macallan
Date: Wed Jan 11 16:08:57 UTC 2012
Modified Files:
src/sys/dev/sbus: agten.c cgtwelve.c p9100.c tcx.c zx.c
Log Message:
use rasops_init(0, 0)
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/sbus/agten.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sbus/cgtwelve.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/sbus/p9100.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/sbus/tcx.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/sbus/zx.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/sbus/agten.c
diff -u src/sys/dev/sbus/agten.c:1.27 src/sys/dev/sbus/agten.c:1.28
--- src/sys/dev/sbus/agten.c:1.27 Mon Nov 15 05:59:57 2010
+++ src/sys/dev/sbus/agten.c Wed Jan 11 16:08:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: agten.c,v 1.27 2010/11/15 05:59:57 uebayasi Exp $ */
+/* $NetBSD: agten.c,v 1.28 2012/01/11 16:08:57 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.27 2010/11/15 05:59:57 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.28 2012/01/11 16:08:57 macallan Exp $");
/*
* a driver for the Fujitsu AG-10e SBus framebuffer
@@ -469,7 +469,7 @@ agten_init_screen(void *cookie, struct v
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,
Index: src/sys/dev/sbus/cgtwelve.c
diff -u src/sys/dev/sbus/cgtwelve.c:1.4 src/sys/dev/sbus/cgtwelve.c:1.5
--- src/sys/dev/sbus/cgtwelve.c:1.4 Wed Aug 18 21:11:50 2010
+++ src/sys/dev/sbus/cgtwelve.c Wed Jan 11 16:08:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: cgtwelve.c,v 1.4 2010/08/18 21:11:50 macallan Exp $ */
+/* $NetBSD: cgtwelve.c,v 1.5 2012/01/11 16:08:57 macallan Exp $ */
/*-
* Copyright (c) 2010 Michael Lorenz
@@ -29,7 +29,7 @@
/* a console driver for the Sun CG12 / Matrox SG3 graphics board */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgtwelve.c,v 1.4 2010/08/18 21:11:50 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgtwelve.c,v 1.5 2012/01/11 16:08:57 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -486,7 +486,7 @@ cgtwelve_init_screen(void *cookie, struc
ri->ri_bits = sc->sc_shadow;
}
- rasops_init(ri, ri->ri_height / 8, ri->ri_width / 8);
+ rasops_init(ri, 0, 0);
#ifdef CG12_COLOR
ri->ri_caps = WSSCREEN_REVERSE | WSSCREEN_WSCOLORS;
#else
Index: src/sys/dev/sbus/p9100.c
diff -u src/sys/dev/sbus/p9100.c:1.55 src/sys/dev/sbus/p9100.c:1.56
--- src/sys/dev/sbus/p9100.c:1.55 Tue May 4 05:10:25 2010
+++ src/sys/dev/sbus/p9100.c Wed Jan 11 16:08:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: p9100.c,v 1.55 2010/05/04 05:10:25 macallan Exp $ */
+/* $NetBSD: p9100.c,v 1.56 2012/01/11 16:08:57 macallan Exp $ */
/*-
* Copyright (c) 1998, 2005, 2006 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.55 2010/05/04 05:10:25 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.56 2012/01/11 16:08:57 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1231,7 +1231,7 @@ p9100_init_screen(void *cookie, struct v
DPRINTF("addr: %08lx\n",(ulong)ri->ri_bits);
#endif
- 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/dev/sbus/tcx.c
diff -u src/sys/dev/sbus/tcx.c:1.43 src/sys/dev/sbus/tcx.c:1.44
--- src/sys/dev/sbus/tcx.c:1.43 Tue May 4 05:10:25 2010
+++ src/sys/dev/sbus/tcx.c Wed Jan 11 16:08:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: tcx.c,v 1.43 2010/05/04 05:10:25 macallan Exp $ */
+/* $NetBSD: tcx.c,v 1.44 2012/01/11 16:08:57 macallan Exp $ */
/*
* Copyright (c) 1996, 1998, 2009 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.43 2010/05/04 05:10:25 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.44 2012/01/11 16:08:57 macallan Exp $");
/*
* define for cg8 emulation on S24 (24-bit version of tcx) for the SS5;
@@ -821,7 +821,7 @@ tcx_init_screen(void *cookie, struct vco
ri->ri_bits = sc->sc_fbaddr;
- rasops_init(ri, ri->ri_height/8, ri->ri_width/8);
+ rasops_init(ri, 0, 0);
ri->ri_caps = WSSCREEN_WSCOLORS;
rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight,
ri->ri_width / ri->ri_font->fontwidth);
Index: src/sys/dev/sbus/zx.c
diff -u src/sys/dev/sbus/zx.c:1.38 src/sys/dev/sbus/zx.c:1.39
--- src/sys/dev/sbus/zx.c:1.38 Thu Dec 9 04:35:36 2010
+++ src/sys/dev/sbus/zx.c Wed Jan 11 16:08:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: zx.c,v 1.38 2010/12/09 04:35:36 uebayasi Exp $ */
+/* $NetBSD: zx.c,v 1.39 2012/01/11 16:08:57 macallan Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zx.c,v 1.38 2010/12/09 04:35:36 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zx.c,v 1.39 2012/01/11 16:08:57 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1179,7 +1179,7 @@ zx_init_screen(void *cookie, struct vcon
ri->ri_bits = (void *)sc->sc_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);