diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-01-09 12:25:02 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:02 -0500 |
commit | 0fa14aa6214823bb013b598add866e277a7efe28 (patch) | |
tree | ff037bc55e140ede3464ed9ed4cd6f9541799811 /drivers/media/video/cx88/cx88-dvb.c | |
parent | cd1257d860f6ee09b589723a5d3888b1fed46487 (diff) |
V4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products
- Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products.
- Basic DVB-S support is working, analog video inputs work.
- It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing.
- CX24123 code (in cx88-dvb.c) disabled until the
- cx24123 module is added to dvb-kernel cvs.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 99ea955f5987..21972572a943 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -48,6 +48,9 @@ | |||
48 | #ifdef HAVE_NXT200X | 48 | #ifdef HAVE_NXT200X |
49 | # include "nxt200x.h" | 49 | # include "nxt200x.h" |
50 | #endif | 50 | #endif |
51 | #ifdef HAVE_CX24123 | ||
52 | # include "cx24123.h" | ||
53 | #endif | ||
51 | 54 | ||
52 | MODULE_DESCRIPTION("driver for cx2388x based DVB cards"); | 55 | MODULE_DESCRIPTION("driver for cx2388x based DVB cards"); |
53 | MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); | 56 | MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); |
@@ -314,6 +317,21 @@ static struct nxt200x_config ati_hdtvwonder = { | |||
314 | }; | 317 | }; |
315 | #endif | 318 | #endif |
316 | 319 | ||
320 | #ifdef HAVE_CX24123 | ||
321 | static int cx24123_set_ts_param(struct dvb_frontend* fe, | ||
322 | int is_punctured) | ||
323 | { | ||
324 | struct cx8802_dev *dev= fe->dvb->priv; | ||
325 | dev->ts_gen_cntrl = 0x2; | ||
326 | return 0; | ||
327 | } | ||
328 | |||
329 | static struct cx24123_config hauppauge_novas_config = { | ||
330 | .demod_address = 0x55, | ||
331 | .set_ts_params = cx24123_set_ts_param, | ||
332 | }; | ||
333 | #endif | ||
334 | |||
317 | static int dvb_register(struct cx8802_dev *dev) | 335 | static int dvb_register(struct cx8802_dev *dev) |
318 | { | 336 | { |
319 | /* init struct videobuf_dvb */ | 337 | /* init struct videobuf_dvb */ |
@@ -421,6 +439,13 @@ static int dvb_register(struct cx8802_dev *dev) | |||
421 | &dev->core->i2c_adap); | 439 | &dev->core->i2c_adap); |
422 | break; | 440 | break; |
423 | #endif | 441 | #endif |
442 | #ifdef HAVE_CX24123 | ||
443 | case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: | ||
444 | case CX88_BOARD_HAUPPAUGE_NOVASE2_S1: | ||
445 | dev->dvb.frontend = cx24123_attach(&hauppauge_novas_config, | ||
446 | &dev->core->i2c_adap); | ||
447 | break; | ||
448 | #endif | ||
424 | default: | 449 | default: |
425 | printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", | 450 | printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", |
426 | dev->core->name); | 451 | dev->core->name); |