From a225d04b41d8ff57daa1a4c95a57ba73a4b71132 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 20 Sep 2002 11:17:57 +0000 Subject: Support to run the 24 bit fb in 8 bit mode or cg12 in 1 bit mode via flags, using 0x0001. miod@ ok. --- sys/arch/sparc/include/fbvar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/sparc/include') 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. -- cgit v1.2.3