summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgfourteenreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-08-21 20:27:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-08-21 20:27:36 +0000
commitae3237c0d267df3bb60e0c3e3e208ff037ec51a4 (patch)
tree93773db94320394c253a6cf4eb8554dfe4cc5896 /sys/arch/sparc/dev/cgfourteenreg.h
parent5e7ab34758e8f9770a097f605bd2e240ddd648e2 (diff)
Correctly map the video memory, for proper operation.
Diffstat (limited to 'sys/arch/sparc/dev/cgfourteenreg.h')
-rw-r--r--sys/arch/sparc/dev/cgfourteenreg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cgfourteenreg.h b/sys/arch/sparc/dev/cgfourteenreg.h
index 30b541894b2..e8e3bcffd82 100644
--- a/sys/arch/sparc/dev/cgfourteenreg.h
+++ b/sys/arch/sparc/dev/cgfourteenreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfourteenreg.h,v 1.2 2002/08/12 10:44:03 miod Exp $ */
+/* $OpenBSD: cgfourteenreg.h,v 1.3 2002/08/21 20:27:35 miod Exp $ */
/* $NetBSD: cgfourteenreg.h,v 1.1 1996/09/30 22:41:02 abrown Exp $ */
/*
@@ -38,6 +38,12 @@
* Register/dac/clut/cursor definitions for cgfourteen frame buffer
*/
+/* Control registers */
+#define CG14_REG_CONTROL 0
+#define CG14_REG_VRAM 1
+
+#define CG14_NREG 2
+
/* Locations of control registers in cg14 register set */
#define CG14_OFFSET_CURS 0x1000
#define CG14_OFFSET_DAC 0x2000