summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/vigra.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/vigra.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/vigra.c')
-rw-r--r--sys/arch/sparc/dev/vigra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/vigra.c b/sys/arch/sparc/dev/vigra.c
index bb11b49b7dd..b1364e9a1b8 100644
--- a/sys/arch/sparc/dev/vigra.c
+++ b/sys/arch/sparc/dev/vigra.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vigra.c,v 1.8 2003/06/06 19:42:47 miod Exp $ */
+/* $OpenBSD: vigra.c,v 1.9 2003/06/28 17:05:33 miod Exp $ */
/*
* Copyright (c) 2002, 2003, Miodrag Vallat.
@@ -320,8 +320,8 @@ vigraattach(struct device *parent, struct device *self, void *args)
* vertically (why? no other frame buffer does this in such a mode!),
* so be lazy and clear the screen here too anyways...
*/
- fbwscons_init(&sc->sc_sunfb, isconsole &&
- (sc->sc_sunfb.sf_width != 800 && sc->sc_sunfb.sf_width != 1280));
+ fbwscons_init(&sc->sc_sunfb, isconsole && (sc->sc_sunfb.sf_width != 800
+ && sc->sc_sunfb.sf_width != 1280) ? 0 : RI_CLEAR);
fbwscons_setcolormap(&sc->sc_sunfb, vigra_setcolor);
vigra_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps;