From 692d2b47101b08866d6c011e27941a2b8f132bc8 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 30 Jul 2002 18:07:03 +0000 Subject: - Allow disabling of console acceleration with cf_flags - handle native and dumb mappings separately --- sys/dev/sbus/cgsixreg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/sbus/cgsixreg.h') diff --git a/sys/dev/sbus/cgsixreg.h b/sys/dev/sbus/cgsixreg.h index aa6fa6f3b5f..31478041dfa 100644 --- a/sys/dev/sbus/cgsixreg.h +++ b/sys/dev/sbus/cgsixreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cgsixreg.h,v 1.1 2002/07/26 15:49:56 jason Exp $ */ +/* $OpenBSD: cgsixreg.h,v 1.2 2002/07/30 18:07:02 jason Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -220,6 +220,7 @@ struct cgsix_softc { int sc_width, sc_height, sc_depth, sc_linebytes; union bt_cmap sc_cmap; void *sc_ih; + u_int sc_mode; }; #define CG6_USER_FBC 0x70000000 @@ -270,3 +271,4 @@ struct cgsix_softc { #define CG6_DRAIN(sc) \ while (FBC_READ(sc, CG6_FBC_S) & FBC_S_GXINPROGRESS) +#define CG6_CFFLAG_NOACCEL 0x1 /* disable console acceleration */ -- cgit v1.2.3