From 04d11137afdb6b5120c4248299b7a3879d76803a Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 27 Sep 2005 14:19:41 +0000 Subject: [PATCH] expanded/modified shared_info once again (for encoder info). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14253 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/nvidia/DriverInterface.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index 8c830813a8..e4697c7104 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -249,7 +249,7 @@ typedef struct { NV40A }; enum - { // tvout_chip_type in order of capability (more or less) + { // tv_encoder_type in order of capability (more or less) NONE = 0, CH7003, CH7004, @@ -289,9 +289,13 @@ typedef struct { 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 */ + struct + { + uint32 type; /* see tvchip_type enum above */ + uint8 version; /* chip silicon version */ + uint8 bus; /* I2C bus on which TVout chip resides */ + uint8 adress; /* I2C adress on which TVout chip resides */ + } tv_encoder; uint8 monitors; /* output devices connection matrix */ status_t pins_status; /* B_OK if read correctly, B_ERROR if faked */