Module Name: src
Committed By: macallan
Date: Wed Jan 11 16:12:38 UTC 2012
Modified Files:
src/sys/dev/ic: ct65550.c igsfb.c
Log Message:
use rasops_init(0, 0)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/ct65550.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/igsfb.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/ic/ct65550.c
diff -u src/sys/dev/ic/ct65550.c:1.2 src/sys/dev/ic/ct65550.c:1.3
--- src/sys/dev/ic/ct65550.c:1.2 Wed Mar 23 04:02:43 2011
+++ src/sys/dev/ic/ct65550.c Wed Jan 11 16:12:38 2012
@@ -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 @@ chipsfb_init_screen(void *cookie, struct
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,
Index: src/sys/dev/ic/igsfb.c
diff -u src/sys/dev/ic/igsfb.c:1.50 src/sys/dev/ic/igsfb.c:1.51
--- src/sys/dev/ic/igsfb.c:1.50 Tue Jul 26 08:59:37 2011
+++ src/sys/dev/ic/igsfb.c Wed Jan 11 16:12:38 2012
@@ -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 @@ igsfb_init_wsdisplay(void *cookie, struc
/* 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);