diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:46:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:54 -0400 |
commit | b7f81b2058625b6fe90c9265aabbf0d3bdc15874 (patch) | |
tree | e64ea7e6405bfb583bdd13ccd6e3040d912bdf7b /drivers/media/dvb | |
parent | ad561caafaa02b2e1dfe25f6bae03806051992eb (diff) |
V4L/DVB (7424): dvb-pll: remove support for Philips TUV1236D
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 49 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.h | 1 |
2 files changed, 0 insertions, 50 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index b2491f106cef..288ecb29425e 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -289,54 +289,6 @@ static struct dvb_pll_desc dvb_pll_tdhu2 = { | |||
289 | } | 289 | } |
290 | }; | 290 | }; |
291 | 291 | ||
292 | /* Philips TUV1236D | ||
293 | * used in ATI HDTV Wonder | ||
294 | */ | ||
295 | static void tuv1236d_rf(struct dvb_frontend *fe, u8 *buf, | ||
296 | const struct dvb_frontend_parameters *params) | ||
297 | { | ||
298 | struct dvb_pll_priv *priv = fe->tuner_priv; | ||
299 | unsigned int new_rf = input[priv->nr]; | ||
300 | |||
301 | if ((new_rf == 0) || (new_rf > 2)) { | ||
302 | switch (params->u.vsb.modulation) { | ||
303 | case QAM_64: | ||
304 | case QAM_256: | ||
305 | new_rf = 1; | ||
306 | break; | ||
307 | case VSB_8: | ||
308 | default: | ||
309 | new_rf = 2; | ||
310 | } | ||
311 | } | ||
312 | |||
313 | switch (new_rf) { | ||
314 | case 1: | ||
315 | buf[3] |= 0x08; | ||
316 | break; | ||
317 | case 2: | ||
318 | buf[3] &= ~0x08; | ||
319 | break; | ||
320 | default: | ||
321 | printk(KERN_WARNING | ||
322 | "%s: unhandled rf input selection: %d", | ||
323 | __FUNCTION__, new_rf); | ||
324 | } | ||
325 | } | ||
326 | |||
327 | static struct dvb_pll_desc dvb_pll_tuv1236d = { | ||
328 | .name = "Philips TUV1236D", | ||
329 | .min = 54000000, | ||
330 | .max = 864000000, | ||
331 | .iffreq= 44000000, | ||
332 | .set = tuv1236d_rf, | ||
333 | .count = 3, | ||
334 | .entries = { | ||
335 | { 157250000, 62500, 0xc6, 0x41 }, | ||
336 | { 454000000, 62500, 0xc6, 0x42 }, | ||
337 | { 999999999, 62500, 0xc6, 0x44 }, | ||
338 | }, | ||
339 | }; | ||
340 | 292 | ||
341 | /* Samsung TBMV30111IN / TBMV30712IN1 | 293 | /* Samsung TBMV30111IN / TBMV30712IN1 |
342 | * used in Air2PC ATSC - 2nd generation (nxt2002) | 294 | * used in Air2PC ATSC - 2nd generation (nxt2002) |
@@ -416,7 +368,6 @@ static struct dvb_pll_desc *pll_list[] = { | |||
416 | [DVB_PLL_TUA6034] = &dvb_pll_tua6034, | 368 | [DVB_PLL_TUA6034] = &dvb_pll_tua6034, |
417 | [DVB_PLL_TDA665X] = &dvb_pll_tda665x, | 369 | [DVB_PLL_TDA665X] = &dvb_pll_tda665x, |
418 | [DVB_PLL_TDED4] = &dvb_pll_tded4, | 370 | [DVB_PLL_TDED4] = &dvb_pll_tded4, |
419 | [DVB_PLL_TUV1236D] = &dvb_pll_tuv1236d, | ||
420 | [DVB_PLL_TDHU2] = &dvb_pll_tdhu2, | 371 | [DVB_PLL_TDHU2] = &dvb_pll_tdhu2, |
421 | [DVB_PLL_SAMSUNG_TBMV] = &dvb_pll_samsung_tbmv, | 372 | [DVB_PLL_SAMSUNG_TBMV] = &dvb_pll_samsung_tbmv, |
422 | [DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261, | 373 | [DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261, |
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h index 8736ccb9954b..704ea46b466e 100644 --- a/drivers/media/dvb/frontends/dvb-pll.h +++ b/drivers/media/dvb/frontends/dvb-pll.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #define DVB_PLL_TUA6034 10 | 18 | #define DVB_PLL_TUA6034 10 |
19 | #define DVB_PLL_TDA665X 12 | 19 | #define DVB_PLL_TDA665X 12 |
20 | #define DVB_PLL_TDED4 14 | 20 | #define DVB_PLL_TDED4 14 |
21 | #define DVB_PLL_TUV1236D 15 | ||
22 | #define DVB_PLL_TDHU2 16 | 21 | #define DVB_PLL_TDHU2 16 |
23 | #define DVB_PLL_SAMSUNG_TBMV 17 | 22 | #define DVB_PLL_SAMSUNG_TBMV 17 |
24 | #define DVB_PLL_PHILIPS_SD1878_TDA8261 18 | 23 | #define DVB_PLL_PHILIPS_SD1878_TDA8261 18 |