Module Name: src
Committed By: macallan
Date: Wed Mar 28 15:33:44 UTC 2018
Modified Files:
src/sys/dev/sbus: mgx.c
Log Message:
set WSSCREEN_RESIZE
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/sbus/mgx.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/mgx.c
diff -u src/sys/dev/sbus/mgx.c:1.12 src/sys/dev/sbus/mgx.c:1.13
--- src/sys/dev/sbus/mgx.c:1.12 Fri Aug 4 23:54:46 2017
+++ src/sys/dev/sbus/mgx.c Wed Mar 28 15:33:44 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: mgx.c,v 1.12 2017/08/04 23:54:46 macallan Exp $ */
+/* $NetBSD: mgx.c,v 1.13 2018/03/28 15:33:44 macallan Exp $ */
/*-
* Copyright (c) 2014 Michael Lorenz
@@ -29,7 +29,7 @@
/* a console driver for the SSB 4096V-MGX graphics card */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.12 2017/08/04 23:54:46 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.13 2018/03/28 15:33:44 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -941,7 +941,8 @@ mgx_init_screen(void *cookie, struct vco
rasops_init(ri, 0, 0);
- ri->ri_caps = WSSCREEN_REVERSE | WSSCREEN_WSCOLORS | WSSCREEN_UNDERLINE;
+ ri->ri_caps = WSSCREEN_REVERSE | WSSCREEN_WSCOLORS |
+ WSSCREEN_UNDERLINE | WSSCREEN_RESIZE;
rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight,
ri->ri_width / ri->ri_font->fontwidth);