summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2021-10-31 05:31:12 +0000
committermacallan <macallan@NetBSD.org>2021-10-31 05:31:12 +0000
commite155c858de3505b12f83ff3490e604af81c4ea53 (patch)
tree882f9257dfeccc5c666f23e68e2a2dc6b5c169c3 /sys/dev
parent8be1ad26142d815291aaeb0b030548c2847f8def (diff)
remove accidentially committed debug goop
thanks ryo@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sbus/mgx.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/sbus/mgx.c b/sys/dev/sbus/mgx.c
index 80c2b64a095..7d99ca89cc9 100644
--- a/sys/dev/sbus/mgx.c
+++ b/sys/dev/sbus/mgx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mgx.c,v 1.18 2021/10/30 05:37:39 macallan Exp $ */
+/* $NetBSD: mgx.c,v 1.19 2021/10/31 05:31:12 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.18 2021/10/30 05:37:39 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.19 2021/10/31 05:31:12 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -684,8 +684,6 @@ mgx_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
uint32_t fg, bg;
int x, y, wi, he, rv;
-if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
-
wi = font->fontwidth;
he = font->fontheight;
@@ -733,8 +731,6 @@ mgx_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
uint32_t fg, bg, scratch = ((sc->sc_stride * sc->sc_height) + 7) & ~7;
int x, y, wi, he, len, i;
-if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
-
wi = font->fontwidth;
he = font->fontheight;