summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
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/include
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/include')
-rw-r--r--sys/arch/sparc/include/fbvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/fbvar.h b/sys/arch/sparc/include/fbvar.h
index 27d0b9f3eb1..178cbc5836b 100644
--- a/sys/arch/sparc/include/fbvar.h
+++ b/sys/arch/sparc/include/fbvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fbvar.h,v 1.7 2002/09/20 11:17:56 fgsch Exp $ */
+/* $OpenBSD: fbvar.h,v 1.8 2002/11/06 21:06:22 miod Exp $ */
/* $NetBSD: fbvar.h,v 1.9 1997/07/07 23:31:30 pk Exp $ */
/*
@@ -82,8 +82,9 @@ extern int fbnode;
void fb_setsize(struct sunfb*, int, int, int, int, int);
void fbwscons_init(struct sunfb *, int);
void fbwscons_console_init(struct sunfb *, struct wsscreen_descr *, int,
- void (*)(void *, u_int, u_int8_t, u_int8_t, u_int8_t),
void (*)(void *, u_int, u_int));
+void fbwscons_setcolormap(struct sunfb *,
+ void (*)(void *, u_int, u_int8_t, u_int8_t, u_int8_t));
#if defined(SUN4)
int fb_pfour_id(void *);