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/agten.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/agten.c')
-rw-r--r-- | sys/arch/sparc/dev/agten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/agten.c b/sys/arch/sparc/dev/agten.c index 6ea6903f59a..ac7afb65780 100644 --- a/sys/arch/sparc/dev/agten.c +++ b/sys/arch/sparc/dev/agten.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agten.c,v 1.4 2003/06/24 21:55:05 miod Exp $ */ +/* $OpenBSD: agten.c,v 1.5 2003/06/28 17:05:33 miod Exp $ */ /* * Copyright (c) 2002, 2003, Miodrag Vallat. * All rights reserved. @@ -224,7 +224,7 @@ agtenattach(struct device *parent, struct device *self, void *args) sc->sc_sunfb.sf_ro.ri_bits = (void *)sc->sc_i128_fb; 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, agten_setcolor); agten_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps; |