diff options
author | Gerd Knorr <devnull@localhost> | 2004-09-16 15:38:41 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-09-16 15:38:41 +0000 |
commit | 0ff9adf865c37d1dc1189444020644d8ae31ae6e (patch) | |
tree | e64b96d581234e0a4714598acb76138279c10299 /linux/drivers/media | |
parent | 0dd9dc19b6f84782d0b7e3b41c50df853166ae49 (diff) | |
download | mediapointer-dvb-s2-0ff9adf865c37d1dc1189444020644d8ae31ae6e.tar.gz mediapointer-dvb-s2-0ff9adf865c37d1dc1189444020644d8ae31ae6e.tar.bz2 |
- misc card specific stuff.
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/bttv-cards.c | 23 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 10 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-tvaudio.c | 9 |
3 files changed, 33 insertions, 9 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c index 7d917f3e3..3a897ccf4 100644 --- a/linux/drivers/media/video/bttv-cards.c +++ b/linux/drivers/media/video/bttv-cards.c @@ -1,5 +1,5 @@ /* - $Id: bttv-cards.c,v 1.26 2004/09/15 16:15:24 kraxel Exp $ + $Id: bttv-cards.c,v 1.27 2004/09/16 15:38:41 kraxel Exp $ bttv-cards.c @@ -2092,10 +2092,10 @@ struct tvcard bttv_tvcards[] = { /* Matt Jesson <dvb@jesson.eclipse.co.uk> */ /* Based on the Nebula card data - added remote and new card number - BTTV_AVDVBT_761, see also ir-kbd-gpio.c */ .name = "AverMedia AverTV DVB-T 761", - .video_inputs = 1, + .video_inputs = 2, .tuner = -1, - .svhs = -1, - .muxsel = { 2, 3, 1, 0}, + .svhs = 1, + .muxsel = { 3, 1, 2, 0}, /* Comp0, S-Video, ?, ? */ .no_msp34xx = 1, .no_tda9875 = 1, .no_tda7432 = 1, @@ -2163,6 +2163,21 @@ struct tvcard bttv_tvcards[] = { .no_video = 1, .has_dvb = 1, .tuner_type = -1, +},{ + /* Steven <photon38@pchome.com.tw> */ + .name = "V-Gear MyVCD", + .video_inputs = 3, + .audio_inputs = 1, + .tuner = 0, + .svhs = 2, + .gpiomask = 0x3f, + .muxsel = {2, 3, 1, 0}, + .audiomux = {0x31, 0x31, 0x31, 0x31, 0x31, 0x31}, + .no_msp34xx = 1, + .pll = PLL_28, + .tuner_type = TUNER_PHILIPS_NTSC_M, + .has_radio = 0, + // .has_remote = 1, }}; const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 4c3f815d6..4c5b05339 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-cards.c,v 1.36 2004/09/16 08:27:17 kraxel Exp $ + * $Id: cx88-cards.c,v 1.37 2004/09/16 15:38:41 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -150,12 +150,18 @@ struct cx88_board cx88_boards[] = { }, [CX88_BOARD_AVERTV_303] = { .name = "AverTV Studio 303 (M126)", - .tuner_type = TUNER_PHILIPS_PAL_DK, + .tuner_type = 38, .tda9887_conf = TDA9887_PRESENT, .input = {{ .type = CX88_VMUX_TELEVISION, .vmux = 0, + },{ + .type = CX88_VMUX_COMPOSITE2, + .vmux = 2, }}, + .radio = { + .type = CX88_RADIO, + }, }, [CX88_BOARD_MSI_TVANYWHERE_MASTER] = { // added gpio values thanks to Michal diff --git a/linux/drivers/media/video/saa7134/saa7134-tvaudio.c b/linux/drivers/media/video/saa7134/saa7134-tvaudio.c index 3540d76b5..25c3da74c 100644 --- a/linux/drivers/media/video/saa7134/saa7134-tvaudio.c +++ b/linux/drivers/media/video/saa7134/saa7134-tvaudio.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-tvaudio.c,v 1.10 2004/09/15 16:15:24 kraxel Exp $ + * $Id: saa7134-tvaudio.c,v 1.11 2004/09/16 15:38:41 kraxel Exp $ * * device driver for philips saa7134 based TV cards * tv audio decoder (fm stereo, nicam, ...) @@ -795,7 +795,10 @@ static int tvaudio_thread_ddep(void *data) /* insmod option override */ norms = (audio_ddep << 2) | 0x01; dprintk("ddep override: %s\n",stdres[audio_ddep]); - } else{ + } else if (&card(dev).radio == dev->input) { + dprintk("FM Radio\n"); + norms = (0x0f << 2) | 0x01; + } else { /* (let chip) scan for sound carrier */ norms = 0; if (dev->tvnorm->id & V4L2_STD_PAL) { @@ -827,7 +830,7 @@ static int tvaudio_thread_ddep(void *data) /* setup crossbars */ saa_dsp_writel(dev, 0x464 >> 2, 0x000000); saa_dsp_writel(dev, 0x470 >> 2, 0x101010); - + if (tvaudio_sleep(dev,3*HZ)) goto restart; value = saa_readl(0x528 >> 2) & 0xffffff; |