Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / xf86-video-tdfx / patches / patch-aa
blob4b3e5e3b68b03f87eb16fdc2cb7bc3171f284806
1 $NetBSD: patch-aa,v 1.1 2007/04/09 14:28:01 xtraeme Exp $
3 --- src/tdfxdefs.h.orig 2008-08-15 18:55:32.000000000 +0100
4 +++ src/tdfxdefs.h
5 @@ -405,4 +405,28 @@
6  
7  #define SST_POWERDOWN_DAC               BIT(8)
8  
9 +/* VIDSERIALPARALELPORT */
10 +#define VSP_TVOUT_RESET 0x80000000      /* 0 forces TVout reset */
11 +#define VSP_GPIO2_IN    0x40000000
12 +#define VSP_GPIO1_OUT   0x20000000
13 +#define VSP_VMI_RESET_N 0x10000000      /* 0 forces a VMI reset */
14 +#define VSP_SDA1_IN     0x08000000      /* i2c bus on the feature connector */
15 +#define VSP_SCL1_IN     0x04000000
16 +#define VSP_SDA1_OUT    0x02000000
17 +#define VSP_SCL1_OUT    0x01000000
18 +#define VSP_ENABLE_IIC1 0x00800000      /* 1 enables I2C bus 1 */
19 +#define VSP_SDA0_IN     0x00400000      /* i2c bus on the monitor connector */
20 +#define VSP_SCL0_IN     0x00200000
21 +#define VSP_SDA0_OUT    0x00100000
22 +#define VSP_SCL0_OUT    0x00080000
23 +#define VSP_ENABLE_IIC0 0x00040000      /* 1 enables I2C bus 0 */
24 +#define VSP_VMI_ADDRESS 0x0003c000      /* mask */
25 +#define VSP_VMI_DATA    0x00003fc0      /* mask */
26 +#define VSP_VMI_DISABLE 0x00000020      /* 0 enables VMI output */
27 +#define VSP_VMI_RDY_N   0x00000010
28 +#define VSP_RW_N        0x00000008
29 +#define VSP_DS_N        0x00000004
30 +#define VSP_CS_N        0x00000002
31 +#define VSP_HOST_ENABLE 0x00000001      /* 1 enables VMI host control*/
33  #endif