summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/cgsixreg.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-30 18:07:03 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-30 18:07:03 +0000
commit692d2b47101b08866d6c011e27941a2b8f132bc8 (patch)
tree8b89891106454b8eaf6eb4ab509de54b7f90ddc3 /sys/dev/sbus/cgsixreg.h
parent359121ee0d779d563c3ea5d325fc1fd68922b7af (diff)
- Allow disabling of console acceleration with cf_flags
- handle native and dumb mappings separately
Diffstat (limited to 'sys/dev/sbus/cgsixreg.h')
-rw-r--r--sys/dev/sbus/cgsixreg.h4
1 files changed, 3 insertions, 1 deletions
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 */