Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sbus use rasops_init(0, 0)



details:   https://anonhg.NetBSD.org/src/rev/b23f3bb2e5df
branches:  trunk
changeset: 772672:b23f3bb2e5df
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jan 11 16:08:57 2012 +0000

description:
use rasops_init(0, 0)

diffstat:

 sys/dev/sbus/agten.c    |  6 +++---
 sys/dev/sbus/cgtwelve.c |  6 +++---
 sys/dev/sbus/p9100.c    |  6 +++---
 sys/dev/sbus/tcx.c      |  6 +++---
 sys/dev/sbus/zx.c       |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r afb63660279c -r b23f3bb2e5df sys/dev/sbus/agten.c
--- a/sys/dev/sbus/agten.c      Wed Jan 11 16:07:29 2012 +0000
+++ b/sys/dev/sbus/agten.c      Wed Jan 11 16:08:57 2012 +0000
@@ -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 @@
                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,
diff -r afb63660279c -r b23f3bb2e5df sys/dev/sbus/cgtwelve.c
--- a/sys/dev/sbus/cgtwelve.c   Wed Jan 11 16:07:29 2012 +0000
+++ b/sys/dev/sbus/cgtwelve.c   Wed Jan 11 16:08:57 2012 +0000
@@ -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 @@
                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
diff -r afb63660279c -r b23f3bb2e5df sys/dev/sbus/p9100.c
--- a/sys/dev/sbus/p9100.c      Wed Jan 11 16:07:29 2012 +0000
+++ b/sys/dev/sbus/p9100.c      Wed Jan 11 16:08:57 2012 +0000
@@ -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 @@
        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);
diff -r afb63660279c -r b23f3bb2e5df sys/dev/sbus/tcx.c
--- a/sys/dev/sbus/tcx.c        Wed Jan 11 16:07:29 2012 +0000
+++ b/sys/dev/sbus/tcx.c        Wed Jan 11 16:08:57 2012 +0000
@@ -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 @@
 
        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);
diff -r afb63660279c -r b23f3bb2e5df sys/dev/sbus/zx.c
--- a/sys/dev/sbus/zx.c Wed Jan 11 16:07:29 2012 +0000
+++ b/sys/dev/sbus/zx.c Wed Jan 11 16:08:57 2012 +0000
@@ -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 @@
 
        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);



Home | Main Index | Thread Index | Old Index