summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/p9000.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/p9000.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/p9000.c')
-rw-r--r--sys/arch/sparc/dev/p9000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/p9000.c b/sys/arch/sparc/dev/p9000.c
index fe128c5f8af..bc03bc341d6 100644
--- a/sys/arch/sparc/dev/p9000.c
+++ b/sys/arch/sparc/dev/p9000.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p9000.c,v 1.2 2003/06/18 17:40:32 miod Exp $ */
+/* $OpenBSD: p9000.c,v 1.3 2003/06/28 17:05:33 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
*
@@ -274,7 +274,7 @@ p9000attach(struct device *parent, struct device *self, void *args)
* XXX there should be a rasops "clear margins" feature
*/
fbwscons_init(&sc->sc_sunfb,
- isconsole && (sc->sc_sunfb.sf_width >= 1024));
+ isconsole && (sc->sc_sunfb.sf_width >= 1024) ? 0 : RI_CLEAR);
fbwscons_setcolormap(&sc->sc_sunfb, p9000_setcolor);
/*