summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgeight.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-11-06 21:06:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-11-06 21:06:23 +0000
commit3db638110f445fdee0af026ba42b338baa48ae85 (patch)
treecdce3c99d6438633abf2f3fb6fda1f5cf804395e /sys/arch/sparc/dev/cgeight.c
parent60735805896012b6000a99f7de1678fd7cbfa3b6 (diff)
- always initialize colormaps, even if the frame buffer is non console; this
helps if the ramdac does not get initialized (idea from jason@) - only register a shutdown hook for the frame buffers which need it, if this is the console frame buffer. Otherwise this is just a waste of time.
Diffstat (limited to 'sys/arch/sparc/dev/cgeight.c')
-rw-r--r--sys/arch/sparc/dev/cgeight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgeight.c b/sys/arch/sparc/dev/cgeight.c
index 3296fb51589..975e71b0db7 100644
--- a/sys/arch/sparc/dev/cgeight.c
+++ b/sys/arch/sparc/dev/cgeight.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgeight.c,v 1.16 2002/09/23 18:13:38 miod Exp $ */
+/* $OpenBSD: cgeight.c,v 1.17 2002/11/06 21:06:20 miod Exp $ */
/* $NetBSD: cgeight.c,v 1.13 1997/05/24 20:16:04 pk Exp $ */
/*
@@ -244,7 +244,7 @@ cgeightattach(parent, self, args)
if (isconsole) {
fbwscons_console_init(&sc->sc_sunfb, &cgeight_stdscreen, -1,
- NULL, cgeight_burner);
+ cgeight_burner);
}
waa.console = isconsole;