From 0cd524e5411e35c8483c02ecc5062625809e6fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 25 Apr 2007 18:09:10 -0400 Subject: Implement the custom I2C protocol used by the ivch DVO. The ihch DVO uses a modified I2C addressing scheme as described in section 5.2 of the data sheet. Implement this by over-riding the I2C read and write word routines. --- src/i830_dvo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/i830_dvo.c') diff --git a/src/i830_dvo.c b/src/i830_dvo.c index 0bb25bd5..4b37228d 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -45,13 +45,11 @@ static const char *CH7xxxSymbols[] = { "CH7xxxVidOutput", NULL }; - -#if 0 static const char *ivch_symbols[] = { "ivch_methods", NULL }; -#endif + #if 0 static const char *ch7017_symbols[] = { "ch7017_methods", @@ -66,9 +64,9 @@ struct _I830DVODriver i830_dvo_drivers[] = (SIL164_ADDR_1<<1), SIL164Symbols, NULL , NULL, NULL}, {I830_DVO_CHIP_TMDS | I830_DVO_CHIP_TVOUT, "ch7xxx", "CH7xxxVidOutput", (CH7xxx_ADDR_1<<1), CH7xxxSymbols, NULL , NULL, NULL}, - /* {I830_DVO_CHIP_LVDS, "ivch", "ivch_methods", 0x04, ivch_symbols, NULL, NULL, NULL}, + /* {I830_DVO_CHIP_LVDS, "ivch", "ivch_methods", 0x44, ivch_symbols, NULL, NULL, NULL}, {I830_DVO_CHIP_LVDS, "ivch", "ivch_methods", -- cgit v1.2.3