added I2C bus and TVout chip-location specific info to shared_info.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2005-09-27 10:31:05 +00:00
parent 6527fbe56b
commit 170a41cdcb
1 changed files with 5 additions and 6 deletions

View File

@ -5,7 +5,7 @@
Other authors:
Mark Watson;
Apsed;
Rudolf Cornelissen 10/2002-6/2005.
Rudolf Cornelissen 10/2002-9/2005.
*/
#ifndef DRIVERINTERFACE_H
@ -76,13 +76,8 @@ enum {
#define NV_ROP5_SOLID 0x00000000 /* 2D */
#define NV_IMAGE_BLACK_RECTANGLE 0x00000001 /* 2D/3D */
#define NV_IMAGE_PATTERN 0x00000002 /* 2D */
//#define NV3_SURFACE_0 0x00000003 /* 3D: old cmd */
//#define NV3_SURFACE_1 0x00000004 /* 3D: old cmd */
//#define NV3_SURFACE_2 0x00000005 /* 3D: nolonger used */
//#define NV3_SURFACE_3 0x00000006 /* 3D: nolonger used */
#define NV4_SURFACE 0x00000010 /* 2D */
#define NV10_CONTEXT_SURFACES_2D 0x00000010 /* 2D */
//#define NV1_IMAGE_FROM_CPU 0x00000010 /* 2D: unused */
#define NV_IMAGE_BLIT 0x00000011 /* 2D */
/* fixme:
* never use NV3_GDI_RECTANGLE_TEXT for DMA acceleration:
@ -292,7 +287,11 @@ typedef struct {
float panel1_aspect; /* panel's aspect ratio */
float panel2_aspect; /* panel's aspect ratio */
bool crtc2_prim; /* using CRTC2 as primary CRTC */
bool i2c_bus0; /* we have a wired I2C bus 0 on board */
bool i2c_bus1; /* we have a wired I2C bus 0 on board */
uint32 tvout_chip_type; /* see tvchip_type enum above */
uint8 tvout_chip_bus; /* I2C bus on which TVout chip resides */
uint8 tvout_chip_adress; /* I2C adress on which TVout chip resides */
uint8 monitors; /* output devices connection matrix */
status_t pins_status; /* B_OK if read correctly, B_ERROR if faked */