Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/8364be344ea5
branches:  trunk
changeset: 772673:8364be344ea5
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jan 11 16:10:13 2012 +0000

description:
use rasops_init(0,0)

diffstat:

 sys/dev/sun/bwtwo.c   |  6 +++---
 sys/dev/sun/cgsix.c   |  6 +++---
 sys/dev/sun/cgthree.c |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r b23f3bb2e5df -r 8364be344ea5 sys/dev/sun/bwtwo.c
--- a/sys/dev/sun/bwtwo.c       Wed Jan 11 16:08:57 2012 +0000
+++ b/sys/dev/sun/bwtwo.c       Wed Jan 11 16:10:13 2012 +0000
@@ -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 @@
 
        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);
diff -r b23f3bb2e5df -r 8364be344ea5 sys/dev/sun/cgsix.c
--- a/sys/dev/sun/cgsix.c       Wed Jan 11 16:08:57 2012 +0000
+++ b/sys/dev/sun/cgsix.c       Wed Jan 11 16:10:13 2012 +0000
@@ -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 @@
        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);
diff -r b23f3bb2e5df -r 8364be344ea5 sys/dev/sun/cgthree.c
--- a/sys/dev/sun/cgthree.c     Wed Jan 11 16:08:57 2012 +0000
+++ b/sys/dev/sun/cgthree.c     Wed Jan 11 16:10:13 2012 +0000
@@ -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 @@
 
        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);



Home | Main Index | Thread Index | Old Index