summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/tcx.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-28 17:05:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-28 17:05:36 +0000
commitc561b3ac449ce8baa4cd514495757d6ed54abb94 (patch)
tree626793180227cf5c40d2027444e33b6e4a78a471 /sys/arch/sparc/dev/tcx.c
parent19144d022d5d113a772914ed1c19ccb6f9a886e1 (diff)
Sync sparc fb API with the sparc64 changes (fbwscons_init takes flags, and
the sunfb structure keeps pointer to the prom cursor coordinates).
Diffstat (limited to 'sys/arch/sparc/dev/tcx.c')
-rw-r--r--sys/arch/sparc/dev/tcx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c
index fbdb9cad6f9..e263b8dcf65 100644
--- a/sys/arch/sparc/dev/tcx.c
+++ b/sys/arch/sparc/dev/tcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcx.c,v 1.18 2003/06/15 21:04:11 miod Exp $ */
+/* $OpenBSD: tcx.c,v 1.19 2003/06/28 17:05:33 miod Exp $ */
/* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */
/*
@@ -263,7 +263,7 @@ tcxattach(parent, self, args)
sc->sc_sunfb.sf_ro.ri_hw = sc;
sc->sc_sunfb.sf_ro.ri_bits = (void *)sc->sc_dfb8;
- fbwscons_init(&sc->sc_sunfb, isconsole);
+ fbwscons_init(&sc->sc_sunfb, isconsole ? 0 : RI_CLEAR);
fbwscons_setcolormap(&sc->sc_sunfb, tcx_setcolor);
tcx_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps;