diff options
author | Michael Krufky <devnull@localhost> | 2005-10-27 04:33:27 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-10-27 04:33:27 +0000 |
commit | be5a5383388034d7757116daa71d59ae4b002ff1 (patch) | |
tree | 92c73b2f77b2c65532ba4215d52e850ea39f34e2 /linux/drivers/media/video/cx88/cx88-dvb.c | |
parent | 8986d215104a954362dbae6a7595da6bdbd467f3 (diff) | |
download | mediapointer-dvb-s2-be5a5383388034d7757116daa71d59ae4b002ff1.tar.gz mediapointer-dvb-s2-be5a5383388034d7757116daa71d59ae4b002ff1.tar.bz2 |
* ../linux/drivers/media/video/cx88/Kconfig:
* ../linux/drivers/media/video/cx88/Makefile:
* ../linux/drivers/media/video/cx88/cx88-dvb.c:
(nxt200x_set_ts_param), (dvb_register):
* ../v4l/Makefile:
- Added support for NXT200X based cards (ATI HDTV Wonder)
* ../linux/drivers/media/video/cx88/cx88-cards.c:
(cx88_card_setup):
- Cleaned up initialization of ATI HDTV Wonder. The card is now
able to work in analog or digital mode and able to switch
between them without any problems.
* ../linux/drivers/media/video/tuner-simple.c:
(default_set_tv_freq):
- Fixed value in "Philips TUV1236D ATSC/NTSC dual in" tuner data.
- When tuning the "Philips TUV1236D ATSC/NTSC dual in" tuner,
make sure that we are in the correct tuning mode.
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index 8577884ee..c0f0c3800 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-dvb.c,v 1.70 2005/10/16 12:34:29 mchehab Exp $ + * $Id: cx88-dvb.c,v 1.71 2005/10/27 04:33:27 mkrufky Exp $ * * device driver for Conexant 2388x based TV cards * MPEG Transport Stream (DVB) routines @@ -47,6 +47,9 @@ #ifdef HAVE_LGDT330X # include "lgdt330x.h" #endif +#ifdef HAVE_NXT200X +# include "nxt200x.h" +#endif MODULE_DESCRIPTION("driver for cx2388x based DVB cards"); MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); @@ -290,6 +293,23 @@ static struct lgdt330x_config fusionhdtv_5_gold = { }; #endif +#ifdef HAVE_NXT200X +static int nxt200x_set_ts_param(struct dvb_frontend* fe, + int is_punctured) +{ + struct cx8802_dev *dev= fe->dvb->priv; + dev->ts_gen_cntrl = is_punctured ? 0x04 : 0x00; + return 0; +} + +static struct nxt200x_config ati_hdtvwonder = { + .demod_address = 0x0a, + .pll_address = 0x61, + .pll_desc = &dvb_pll_tuv1236d, + .set_ts_params = nxt200x_set_ts_param, +}; +#endif + static int dvb_register(struct cx8802_dev *dev) { /* init struct videobuf_dvb */ @@ -391,6 +411,12 @@ static int dvb_register(struct cx8802_dev *dev) } break; #endif +#ifdef HAVE_NXT200X + case CX88_BOARD_ATI_HDTVWONDER: + dev->dvb.frontend = nxt200x_attach(&ati_hdtvwonder, + &dev->core->i2c_adap); + break; +#endif default: printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", dev->core->name); |