diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-28 17:05:36 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-28 17:05:36 +0000 |
commit | c561b3ac449ce8baa4cd514495757d6ed54abb94 (patch) | |
tree | 626793180227cf5c40d2027444e33b6e4a78a471 /sys/arch/sparc/dev/mgx.c | |
parent | 19144d022d5d113a772914ed1c19ccb6f9a886e1 (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/mgx.c')
-rw-r--r-- | sys/arch/sparc/dev/mgx.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |