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/cgfour.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/cgfour.c')
-rw-r--r-- | sys/arch/sparc/dev/cgfour.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c index 4206c50d06e..fcad25130ac 100644 --- a/sys/arch/sparc/dev/cgfour.c +++ b/sys/arch/sparc/dev/cgfour.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgfour.c,v 1.20 2003/06/04 04:11:37 deraadt Exp $ */ +/* $OpenBSD: cgfour.c,v 1.21 2003/06/28 17:05:33 miod Exp $ */ /* $NetBSD: cgfour.c,v 1.13 1997/05/24 20:16:06 pk Exp $ */ /* @@ -237,7 +237,7 @@ cgfourattach(parent, self, args) sc->sc_sunfb.sf_ro.ri_bits = mapiodev(ca->ca_ra.ra_reg, PFOUR_COLOR_OFF_COLOR, 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); fbwscons_setcolormap(&sc->sc_sunfb, cgfour_setcolor); cgfour_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps; |