diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-09-14 14:41:13 -0400 |
---|---|---|
committer | Steven Toth <stoth@hauppauge.com> | 2006-09-14 14:41:13 -0400 |
commit | 4625e6d61a711d6e6ae0b140e73cb95acac7c86a (patch) | |
tree | ff86d265caaff49a3b7323ce0769c743c0899b6e /linux/drivers/media/video/cx88/cx88-dvb.c | |
parent | 27167428b37b74b3453ab7cfa9465529a38f4d09 (diff) | |
download | mediapointer-dvb-s2-4625e6d61a711d6e6ae0b140e73cb95acac7c86a.tar.gz mediapointer-dvb-s2-4625e6d61a711d6e6ae0b140e73cb95acac7c86a.tar.bz2 |
Basic DVB-T and analog TV support for the HVR1300.
From: Steven Toth <stoth@hauppauge.com>
This is the first in a series of patches to add full WinTV-HVR1300
support to Linux. This first patch will enable analog TV support
and DVB-T support. Later patches will add the hardware MPEG encoder
support.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index b2376b20f..8dbcc95ca 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -320,6 +320,10 @@ static struct cx22702_config hauppauge_hvr1100_config = { .demod_address = 0x63, .output_mode = CX22702_SERIAL_OUTPUT, }; +static struct cx22702_config hauppauge_hvr1300_config = { + .demod_address = 0x63, + .output_mode = CX22702_SERIAL_OUTPUT, +}; static int or51132_set_ts_param(struct dvb_frontend* fe, int is_punctured) @@ -545,6 +549,16 @@ static int dvb_register(struct cx8802_dev *dev) &dvb_pll_fmd1216me); } break; + case CX88_BOARD_HAUPPAUGE_HVR1300: + dev->dvb.frontend = dvb_attach(cx22702_attach, + &hauppauge_hvr1300_config, + &dev->core->i2c_adap); + if (dev->dvb.frontend != NULL) { + dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, + &dev->core->i2c_adap, + &dvb_pll_fmd1216me); + } + break; case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS: dev->dvb.frontend = dvb_attach(mt352_attach, &dvico_fusionhdtv, |