summaryrefslogtreecommitdiff
path: root/sys/arch
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
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')
-rw-r--r--sys/arch/sparc/dev/cgfourteen.c3
-rw-r--r--sys/arch/sparc/dev/tcx.c3
2 files changed, 4 insertions, 2 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;
diff --git a/sys/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c
index 023ef6b1825..85a4a7717dd 100644
--- a/sys/arch/sparc/dev/tcx.c
+++ b/sys/arch/sparc/dev/tcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcx.c,v 1.14 2002/11/06 21:06:20 miod Exp $ */
+/* $OpenBSD: tcx.c,v 1.15 2002/12/10 20:32:57 miod Exp $ */
/* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */
/*
@@ -276,6 +276,7 @@ tcxattach(parent, self, args)
sc->sc_sunfb.sf_ro.ri_hw = sc;
fbwscons_init(&sc->sc_sunfb, isconsole);
+ fbwscons_setcolormap(&sc->sc_sunfb, tcx_setcolor);
tcx_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps;
tcx_stdscreen.nrows = sc->sc_sunfb.sf_ro.ri_rows;