Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus set WSSCREEN_RESIZE



details:   https://anonhg.NetBSD.org/src/rev/74833cd65c84
branches:  trunk
changeset: 321620:74833cd65c84
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Mar 28 15:33:44 2018 +0000

description:
set WSSCREEN_RESIZE

diffstat:

 sys/dev/sbus/mgx.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r bb5e7820913c -r 74833cd65c84 sys/dev/sbus/mgx.c
--- a/sys/dev/sbus/mgx.c        Wed Mar 28 14:56:59 2018 +0000
+++ b/sys/dev/sbus/mgx.c        Wed Mar 28 15:33:44 2018 +0000
@@ -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 @@
 
        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);



Home | Main Index | Thread Index | Old Index