From 170a41cdcb2a4f2a67d65a046dde1c799b86994f Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 27 Sep 2005 10:31:05 +0000 Subject: [PATCH] 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 --- headers/private/graphics/nvidia/DriverInterface.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index 40070ea441..8c830813a8 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -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 */