summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-29 02:05:49 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-01-29 02:05:49 -0500
commitd8111851cadcd8a6597eb06972b0c2da676883d1 (patch)
treed8820946aa46fdcb79b1df82fa8f8e48decf54c6
parent25cb281fec952cd4ec04d53c44558defa4be91bd (diff)
downloadmediapointer-dvb-s2-d8111851cadcd8a6597eb06972b0c2da676883d1.tar.gz
mediapointer-dvb-s2-d8111851cadcd8a6597eb06972b0c2da676883d1.tar.bz2
tuner-simple: enable digital tuning support for Thomson DTT 761X
From: Michael Krufky <mkrufky@linuxtv.org> Enable digital tuning support within tuner-simple. This will allow for a single tuner module to manage the hardware, without having dvb-pll loaded. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--linux/drivers/media/video/tuner-types.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tuner-types.c b/linux/drivers/media/video/tuner-types.c
index faa1b8181..11e96abe0 100644
--- a/linux/drivers/media/video/tuner-types.c
+++ b/linux/drivers/media/video/tuner-types.c
@@ -856,13 +856,11 @@ static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
{ 16 * 999.99 , 0x8e, 0x3c, },
};
-#if 0
static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = {
{ 16 * 147.00 /*MHz*/, 0x8e, 0x39, },
{ 16 * 417.00 /*MHz*/, 0x8e, 0x3a, },
{ 16 * 999.99 , 0x8e, 0x3c, },
};
-#endif
static struct tuner_params tuner_thomson_dtt761x_params[] = {
{
@@ -873,13 +871,12 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = {
.fm_gain_normal = 1,
.radio_if = 2, /* 41.3 MHz */
},
-#if 0
{
- .type = TUNER_PARAM_TYPE_ATSC,
+ .type = TUNER_PARAM_TYPE_DIGITAL,
.ranges = tuner_thomson_dtt761x_atsc_ranges,
.count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges),
+ .iffreq = 16 * 44.00, /*MHz*/
},
-#endif
};
/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
@@ -1448,6 +1445,9 @@ struct tunertype tuners[] = {
.name = "Thomson DTT 761X (ATSC/NTSC)",
.params = tuner_thomson_dtt761x_params,
.count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
+ .min = 16 * 57.00,
+ .max = 16 * 863.00,
+ .stepsize = 62500,
},
[TUNER_TENA_9533_DI] = { /* Philips PAL */
.name = "Tena TNF9533-D/IF/TNF9533-B/DF",