diff options
author | reinhard schwab <reinhard.schwab@aon.at> | 2008-07-26 09:47:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-26 12:18:12 -0400 |
commit | 655b8408557d586212d0797d423babdc464c587f (patch) | |
tree | 5eece41030b594b83bfc888da68e5881e100ee67 /drivers | |
parent | f894dfd735237548d282d6fd55b6ebb4b2fd9ef2 (diff) |
V4L/DVB (8489): add dvb-t support for terratec cinergy hybrid T usb xs
This patch adds dvbt support for the terratec cinergy hybrid T usb xsstick.
Thanks to Devin Heitmueller and Mauro Chehab for guiding me.
Signed-off-by: Reinhard Schwab <reinhard.schwab@aon.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 4 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-dvb.c | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 6e0eb950ab81..edf6f77862cc 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -246,6 +246,7 @@ struct em28xx_board em28xx_boards[] = { | |||
246 | .tda9887_conf = TDA9887_PRESENT, | 246 | .tda9887_conf = TDA9887_PRESENT, |
247 | .tuner_type = TUNER_XC2028, | 247 | .tuner_type = TUNER_XC2028, |
248 | .decoder = EM28XX_TVP5150, | 248 | .decoder = EM28XX_TVP5150, |
249 | .has_dvb = 1, | ||
249 | .input = { { | 250 | .input = { { |
250 | .type = EM28XX_VMUX_TELEVISION, | 251 | .type = EM28XX_VMUX_TELEVISION, |
251 | .vmux = TVP5150_COMPOSITE0, | 252 | .vmux = TVP5150_COMPOSITE0, |
@@ -639,6 +640,9 @@ static void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl) | |||
639 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: | 640 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: |
640 | ctl->demod = XC3028_FE_ZARLINK456; | 641 | ctl->demod = XC3028_FE_ZARLINK456; |
641 | break; | 642 | break; |
643 | case EM2880_BOARD_TERRATEC_HYBRID_XS: | ||
644 | ctl->demod = XC3028_FE_ZARLINK456; | ||
645 | break; | ||
642 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2: | 646 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2: |
643 | /* djh - Not sure which demod we need here */ | 647 | /* djh - Not sure which demod we need here */ |
644 | ctl->demod = XC3028_FE_DEFAULT; | 648 | ctl->demod = XC3028_FE_DEFAULT; |
diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c index cc61cfb23a4a..9727653b76ff 100644 --- a/drivers/media/video/em28xx/em28xx-dvb.c +++ b/drivers/media/video/em28xx/em28xx-dvb.c | |||
@@ -441,6 +441,15 @@ static int dvb_init(struct em28xx *dev) | |||
441 | } | 441 | } |
442 | break; | 442 | break; |
443 | #endif | 443 | #endif |
444 | case EM2880_BOARD_TERRATEC_HYBRID_XS: | ||
445 | dvb->frontend = dvb_attach(zl10353_attach, | ||
446 | &em28xx_zl10353_with_xc3028, | ||
447 | &dev->i2c_adap); | ||
448 | if (attach_xc3028(0x61, dev) < 0) { | ||
449 | result = -EINVAL; | ||
450 | goto out_free; | ||
451 | } | ||
452 | break; | ||
444 | default: | 453 | default: |
445 | printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card" | 454 | printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card" |
446 | " isn't supported yet\n", | 455 | " isn't supported yet\n", |