Module Name:    src
Committed By:   macallan
Date:           Sat May  4 00:40:07 UTC 2019

Modified Files:
        src/sys/arch/sgimips/gio [isaki-audio2]: newportreg.h

Log Message:
moar registers
( so I don't forget to commit this along with the actual newport changes... )


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.50.1 src/sys/arch/sgimips/gio/newportreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sgimips/gio/newportreg.h
diff -u src/sys/arch/sgimips/gio/newportreg.h:1.6 src/sys/arch/sgimips/gio/newportreg.h:1.6.50.1
--- src/sys/arch/sgimips/gio/newportreg.h:1.6	Wed Jan 11 21:23:07 2012
+++ src/sys/arch/sgimips/gio/newportreg.h	Sat May  4 00:40:07 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: newportreg.h,v 1.6 2012/01/11 21:23:07 macallan Exp $	*/
+/*	$NetBSD: newportreg.h,v 1.6.50.1 2019/05/04 00:40:07 macallan Exp $	*/
 
 /*
  * Copyright (c) 2003 Ilpo Ruotsalainen
@@ -143,6 +143,7 @@
 #define REX3_REG_ZPATTERN		0x0014
 
 #define REX3_REG_COLORBACK		0x0018
+#define REX3_REG_COLORVRAM		0x001c
 
 #define REX3_REG_XSTART			0x0100
 
@@ -191,6 +192,17 @@
 
 #define REX3_REG_TOPSCAN		0x1320
 #define REX3_REG_XYWIN			0x1324
+#define REX3_REG_CLIPMODE		0x1328
+#define  REX3_CLIPMODE_SMASK0		0x0001
+#define  REX3_CLIPMODE_SMASK1		0x0002
+#define  REX3_CLIPMODE_SMASK2		0x0004
+#define  REX3_CLIPMODE_SMASK3		0x0008
+#define  REX3_CLIPMODE_SMASK4		0x0010
+#define  REX3_CLIPMODE_CIDMATCH0	0x0100
+#define  REX3_CLIPMODE_CIDMATCH1	0x0200
+#define  REX3_CLIPMODE_CIDMATCH2	0x0400
+#define  REX3_CLIPMODE_CIDMATCH3	0x0800
+
 
 #define REX3_REG_STATUS			0x1338
 #define  REX3_STATUS_GFXBUSY		0x00000008
@@ -261,6 +273,10 @@
 #define XMAP9_DCBCRS_PUP_CMAP		4
 #define XMAP9_DCBCRS_MODE_SETUP		5
 #define  XMAP9_MODE_GAMMA_BYPASS	0x000004
+#define  XMAP9_MODE_PIXMODE_CI		0x000000
+#define  XMAP9_MODE_PIXMODE_RGB0	0x000100
+#define  XMAP9_MODE_PIXMODE_RGB1	0x000200
+#define  XMAP9_MODE_PIXMODE_RGB2	0x000300
 #define  XMAP9_MODE_PIXSIZE_8BPP	0x000400
 #define  XMAP9_MODE_PIXSIZE_24BPP	0x000c00
 #define XMAP9_DCBCRS_MODE_SELECT	7

Reply via email to