From c561b3ac449ce8baa4cd514495757d6ed54abb94 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 28 Jun 2003 17:05:36 +0000 Subject: Sync sparc fb API with the sparc64 changes (fbwscons_init takes flags, and the sunfb structure keeps pointer to the prom cursor coordinates). --- sys/arch/sparc/dev/mgx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc/dev/mgx.c') diff --git a/sys/arch/sparc/dev/mgx.c b/sys/arch/sparc/dev/mgx.c index 880ffeb23fd..c76ac76d465 100644 --- a/sys/arch/sparc/dev/mgx.c +++ b/sys/arch/sparc/dev/mgx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mgx.c,v 1.4 2003/06/06 19:42:47 miod Exp $ */ +/* $OpenBSD: mgx.c,v 1.5 2003/06/28 17:05:33 miod Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -204,7 +204,7 @@ mgxattach(struct device *parent, struct device *self, void *args) 0, round_page(sc->sc_sunfb.sf_fbsize)); sc->sc_sunfb.sf_ro.ri_hw = sc; - fbwscons_init(&sc->sc_sunfb, isconsole); + fbwscons_init(&sc->sc_sunfb, isconsole ? 0 : RI_CLEAR); bzero(sc->sc_cmap, sizeof(sc->sc_cmap)); fbwscons_setcolormap(&sc->sc_sunfb, mgx_setcolor); -- cgit v1.2.3