summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgfourteen.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-12-10 20:32:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-12-10 20:32:58 +0000
commit1fe140048ce70c0ab1948e7e23e4c0cba5ecf2c8 (patch)
treeb94f6e94ee672eea084a5816e669e561de27abb8 /sys/arch/sparc/dev/cgfourteen.c
parent2341239794423fa6018dabb7eb2464644b3c47db (diff)
The introduction of fbwscons_setcolormap() left out 24 bit frame buffers
operating in 8 bit mode, such as on the installation media... Installing with a pale grey on white is not what I would call a friendly display, ouch.
Diffstat (limited to 'sys/arch/sparc/dev/cgfourteen.c')
-rw-r--r--sys/arch/sparc/dev/cgfourteen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cgfourteen.c b/sys/arch/sparc/dev/cgfourteen.c
index c9ef0b54a85..497b39d66c8 100644
--- a/sys/arch/sparc/dev/cgfourteen.c
+++ b/sys/arch/sparc/dev/cgfourteen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfourteen.c,v 1.19 2002/11/06 21:06:20 miod Exp $ */
+/* $OpenBSD: cgfourteen.c,v 1.20 2002/12/10 20:32:57 miod Exp $ */
/* $NetBSD: cgfourteen.c,v 1.7 1997/05/24 20:16:08 pk Exp $ */
/*
@@ -332,6 +332,7 @@ cgfourteenattach(parent, self, args)
sc->sc_sunfb.sf_ro.ri_hw = sc;
fbwscons_init(&sc->sc_sunfb, isconsole);
+ fbwscons_setcolormap(&sc->sc_sunfb, cgfourteen_setcolor);
cgfourteen_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps;
cgfourteen_stdscreen.nrows = sc->sc_sunfb.sf_ro.ri_rows;