diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-09-20 11:17:57 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-09-20 11:17:57 +0000 |
commit | a225d04b41d8ff57daa1a4c95a57ba73a4b71132 (patch) | |
tree | fa1b5a7ac0eae77915ff4a23aeabdb83505f35b9 /sys/arch/sparc/include | |
parent | fb296632222a96f6a8f92af4df98bf43a4a71f83 (diff) |
Support to run the 24 bit fb in 8 bit mode or cg12 in 1 bit mode
via flags, using 0x0001.
miod@ ok.
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/fbvar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/fbvar.h b/sys/arch/sparc/include/fbvar.h index f8b9e1028d6..27d0b9f3eb1 100644 --- a/sys/arch/sparc/include/fbvar.h +++ b/sys/arch/sparc/include/fbvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fbvar.h,v 1.6 2002/08/12 10:44:04 miod Exp $ */ +/* $OpenBSD: fbvar.h,v 1.7 2002/09/20 11:17:56 fgsch Exp $ */ /* $NetBSD: fbvar.h,v 1.9 1997/07/07 23:31:30 pk Exp $ */ /* @@ -47,12 +47,12 @@ /* * Frame buffer device flags. - * - * XXX add flags to run 24 bit framebuffers in 8 bit mode if possible? */ #define FB_PFOUR 0x00010000 /* indicates fb is a pfour fb */ -#define FB_USERMASK (0) /* flags that the user can set */ +#define FB_FORCELOW 0x00000001 /* run 24 bit fb in 8 bit mode */ + /* or cg12 in 1 bit mode */ +#define FB_USERMASK (0xffff) /* flags that the user can set */ /* * Common frame buffer variables. |