summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-10-01 12:07:22 -0700
committerEric Anholt <eric@anholt.net>2007-10-01 13:48:48 -0700
commit6dd8228a386334d05836353672aae9f8c456e435 (patch)
tree4332a23631272bbba9b3643742520ec62a4ac949 /src
parent994ee6721d9f1650ad37e21198b86848352b73af (diff)
Enable CH7017/7018 DVO driver by default.
On hardware containing one of these chips (generally single pipe with an LVDS connected), it's probably better to try to enable it and fail in some cases than to not probe the output at all.
Diffstat (limited to 'src')
-rw-r--r--src/i830_dvo.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index cb461d79..8ba38bdb 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -55,12 +55,10 @@ static const char *ivch_symbols[] = {
NULL
};
-#if 0
static const char *ch7017_symbols[] = {
"ch7017_methods",
NULL
};
-#endif
/* driver list */
struct _I830DVODriver i830_dvo_drivers[] =
@@ -97,10 +95,14 @@ struct _I830DVODriver i830_dvo_drivers[] =
.address = (TFP410_ADDR_1<<1),
.symbols = TFP410Symbols
},
- /*
- { I830_OUTPUT_DVO_LVDS, "ch7017", "ch7017_methods",
- 0xea, ch7017_symbols, NULL, NULL, NULL }
- */
+ {
+ .type = I830_OUTPUT_DVO_LVDS,
+ .modulename = "ch7017",
+ .fntablename = "ch7017_methods",
+ .dvo_reg = DVOA,
+ .address = 0xea,
+ .symbols = ch7017_symbols,
+ }
};
#define I830_NUM_DVO_DRIVERS (sizeof(i830_dvo_drivers)/sizeof(struct _I830DVODriver))