Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/aac0a283edff
branches:  trunk
changeset: 772674:aac0a283edff
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jan 11 16:12:38 2012 +0000

description:
use rasops_init(0, 0)

diffstat:

 sys/dev/ic/ct65550.c |  6 +++---
 sys/dev/ic/igsfb.c   |  6 +++---
 sys/dev/wsfb/genfb.c |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 8364be344ea5 -r aac0a283edff sys/dev/ic/ct65550.c
--- a/sys/dev/ic/ct65550.c      Wed Jan 11 16:10:13 2012 +0000
+++ b/sys/dev/ic/ct65550.c      Wed Jan 11 16:12:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ct65550.c,v 1.2 2011/03/23 04:02:43 macallan Exp $     */
+/*     $NetBSD: ct65550.c,v 1.3 2012/01/11 16:12:38 macallan Exp $     */
 
 /*
  * Copyright (c) 2006 Michael Lorenz
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.2 2011/03/23 04:02:43 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.3 2012/01/11 16:12:38 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -821,7 +821,7 @@
                ri->ri_flg |= RI_CLEAR;
        }
 
-       rasops_init(ri, sc->height/8, sc->width/8);
+       rasops_init(ri, 0, 0);
        ri->ri_caps = WSSCREEN_WSCOLORS;
 
        rasops_reconfig(ri, sc->height / ri->ri_font->fontheight,
diff -r 8364be344ea5 -r aac0a283edff sys/dev/ic/igsfb.c
--- a/sys/dev/ic/igsfb.c        Wed Jan 11 16:10:13 2012 +0000
+++ b/sys/dev/ic/igsfb.c        Wed Jan 11 16:12:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: igsfb.c,v 1.50 2011/07/26 08:59:37 mrg Exp $ */
+/*     $NetBSD: igsfb.c,v 1.51 2012/01/11 16:12:38 macallan Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Valeriy E. Ushakov
@@ -31,7 +31,7 @@
  * Integraphics Systems IGA 168x and CyberPro series.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.50 2011/07/26 08:59:37 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.51 2012/01/11 16:12:38 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -455,7 +455,7 @@
 
 
        /* XXX: TODO: compute term size based on font dimensions? */
-       rasops_init(ri, 34, 80);
+       rasops_init(ri, 0, 0);
        rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight,
            ri->ri_width / ri->ri_font->fontwidth);
 
diff -r 8364be344ea5 -r aac0a283edff sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c      Wed Jan 11 16:10:13 2012 +0000
+++ b/sys/dev/wsfb/genfb.c      Wed Jan 11 16:12:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfb.c,v 1.45 2012/01/04 20:18:28 macallan Exp $ */
+/*     $NetBSD: genfb.c,v 1.46 2012/01/11 16:13:11 macallan Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.45 2012/01/04 20:18:28 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.46 2012/01/11 16:13:11 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -514,7 +514,7 @@
                ri->ri_flg |= RI_ENABLE_ALPHA | RI_8BIT_IS_RGB;
 
 
-       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,



Home | Main Index | Thread Index | Old Index