diff options
Diffstat (limited to 'sys/arch/sparc/dev/agten.c')
-rw-r--r-- | sys/arch/sparc/dev/agten.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/agten.c b/sys/arch/sparc/dev/agten.c index 07e8ab9b42e..252561062c8 100644 --- a/sys/arch/sparc/dev/agten.c +++ b/sys/arch/sparc/dev/agten.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agten.c,v 1.11 2008/12/25 23:56:29 miod Exp $ */ +/* $OpenBSD: agten.c,v 1.12 2008/12/26 22:30:21 miod Exp $ */ /* * Copyright (c) 2002, 2003, Miodrag Vallat. * All rights reserved. @@ -204,12 +204,11 @@ 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 ? 0 : RI_CLEAR); + fbwscons_init(&sc->sc_sunfb, isconsole); fbwscons_setcolormap(&sc->sc_sunfb, agten_setcolor); - if (isconsole) { + if (isconsole) fbwscons_console_init(&sc->sc_sunfb, -1); - } fbwscons_attach(&sc->sc_sunfb, &agten_accessops, isconsole); } |