summaryrefslogtreecommitdiff
path: root/x11/xf86-video-tdfx/patches/patch-aa
blob: 3f54816c913c9859b7bea09b812c03b169da1bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aa,v 1.1 2007/04/09 14:28:01 xtraeme Exp $

--- src/tdfxdefs.h.orig	2007-03-27 07:50:42.000000000 -0400
+++ src/tdfxdefs.h	2007-03-27 08:14:29.000000000 -0400
@@ -384,4 +384,28 @@
 
 #define SST_POWERDOWN_DAC               BIT(8)
 
+/* VIDSERIALPARALELPORT */
+#define VSP_TVOUT_RESET 0x80000000      /* 0 forces TVout reset */
+#define VSP_GPIO2_IN    0x40000000
+#define VSP_GPIO1_OUT   0x20000000
+#define VSP_VMI_RESET_N 0x10000000      /* 0 forces a VMI reset */
+#define VSP_SDA1_IN     0x08000000      /* i2c bus on the feature connector */
+#define VSP_SCL1_IN     0x04000000
+#define VSP_SDA1_OUT    0x02000000
+#define VSP_SCL1_OUT    0x01000000
+#define VSP_ENABLE_IIC1 0x00800000      /* 1 enables I2C bus 1 */
+#define VSP_SDA0_IN     0x00400000      /* i2c bus on the monitor connector */
+#define VSP_SCL0_IN     0x00200000
+#define VSP_SDA0_OUT    0x00100000
+#define VSP_SCL0_OUT    0x00080000
+#define VSP_ENABLE_IIC0 0x00040000      /* 1 enables I2C bus 0 */
+#define VSP_VMI_ADDRESS 0x0003c000      /* mask */
+#define VSP_VMI_DATA    0x00003fc0      /* mask */
+#define VSP_VMI_DISABLE 0x00000020      /* 0 enables VMI output */
+#define VSP_VMI_RDY_N   0x00000010
+#define VSP_RW_N        0x00000008
+#define VSP_DS_N        0x00000004
+#define VSP_CS_N        0x00000002
+#define VSP_HOST_ENABLE 0x00000001      /* 1 enables VMI host control*/
+
 #endif