diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 5a35d3b6550d..6bc63a4086c1 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -977,7 +977,7 @@ struct saa7134_board saa7134_boards[] = { | |||
977 | .radio_type = UNSET, | 977 | .radio_type = UNSET, |
978 | .tuner_addr = ADDR_UNSET, | 978 | .tuner_addr = ADDR_UNSET, |
979 | .radio_addr = ADDR_UNSET, | 979 | .radio_addr = ADDR_UNSET, |
980 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_ACTIVE, | 980 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, |
981 | .inputs = {{ | 981 | .inputs = {{ |
982 | .name = name_tv, | 982 | .name = name_tv, |
983 | .vmux = 3, | 983 | .vmux = 3, |
@@ -1666,7 +1666,7 @@ struct saa7134_board saa7134_boards[] = { | |||
1666 | .radio_type = UNSET, | 1666 | .radio_type = UNSET, |
1667 | .tuner_addr = ADDR_UNSET, | 1667 | .tuner_addr = ADDR_UNSET, |
1668 | .radio_addr = ADDR_UNSET, | 1668 | .radio_addr = ADDR_UNSET, |
1669 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_ACTIVE, | 1669 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, |
1670 | .mpeg = SAA7134_MPEG_DVB, | 1670 | .mpeg = SAA7134_MPEG_DVB, |
1671 | .inputs = {{ | 1671 | .inputs = {{ |
1672 | .name = name_tv, | 1672 | .name = name_tv, |
@@ -2187,7 +2187,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2187 | .radio_type = UNSET, | 2187 | .radio_type = UNSET, |
2188 | .tuner_addr = 0x61, | 2188 | .tuner_addr = 0x61, |
2189 | .radio_addr = ADDR_UNSET, | 2189 | .radio_addr = ADDR_UNSET, |
2190 | .tda9887_conf = TDA9887_PRESENT, | 2190 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
2191 | .mpeg = SAA7134_MPEG_DVB, | 2191 | .mpeg = SAA7134_MPEG_DVB, |
2192 | .inputs = {{ | 2192 | .inputs = {{ |
2193 | .name = name_tv, | 2193 | .name = name_tv, |
@@ -2211,7 +2211,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2211 | .radio_type = UNSET, | 2211 | .radio_type = UNSET, |
2212 | .tuner_addr = 0x61, | 2212 | .tuner_addr = 0x61, |
2213 | .radio_addr = ADDR_UNSET, | 2213 | .radio_addr = ADDR_UNSET, |
2214 | .tda9887_conf = TDA9887_PRESENT, | 2214 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
2215 | .mpeg = SAA7134_MPEG_DVB, | 2215 | .mpeg = SAA7134_MPEG_DVB, |
2216 | .inputs = {{ | 2216 | .inputs = {{ |
2217 | .name = name_tv, | 2217 | .name = name_tv, |
@@ -2392,7 +2392,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2392 | }}, | 2392 | }}, |
2393 | }, | 2393 | }, |
2394 | [SAA7134_BOARD_PINNACLE_PCTV_110i] = { | 2394 | [SAA7134_BOARD_PINNACLE_PCTV_110i] = { |
2395 | .name = "Pinnacle PCTV 110i (saa7133)", | 2395 | .name = "Pinnacle PCTV 40i/50i/110i (saa7133)", |
2396 | .audio_clock = 0x00187de7, | 2396 | .audio_clock = 0x00187de7, |
2397 | .tuner_type = TUNER_PHILIPS_TDA8290, | 2397 | .tuner_type = TUNER_PHILIPS_TDA8290, |
2398 | .radio_type = UNSET, | 2398 | .radio_type = UNSET, |
@@ -2407,6 +2407,10 @@ struct saa7134_board saa7134_boards[] = { | |||
2407 | },{ | 2407 | },{ |
2408 | .name = name_comp1, | 2408 | .name = name_comp1, |
2409 | .vmux = 1, | 2409 | .vmux = 1, |
2410 | .amux = LINE2, | ||
2411 | },{ | ||
2412 | .name = name_comp2, | ||
2413 | .vmux = 0, | ||
2410 | .amux = LINE2, | 2414 | .amux = LINE2, |
2411 | },{ | 2415 | },{ |
2412 | .name = name_svideo, | 2416 | .name = name_svideo, |
@@ -2745,7 +2749,7 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2745 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2749 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2746 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, | 2750 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
2747 | .subvendor = 0x1048, | 2751 | .subvendor = 0x1048, |
2748 | .subdevice = 0x226b, | 2752 | .subdevice = 0x226a, |
2749 | .driver_data = SAA7134_BOARD_ELSA_500TV, | 2753 | .driver_data = SAA7134_BOARD_ELSA_500TV, |
2750 | },{ | 2754 | },{ |
2751 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2755 | .vendor = PCI_VENDOR_ID_PHILIPS, |
@@ -3201,6 +3205,11 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
3201 | /* power-up tuner chip */ | 3205 | /* power-up tuner chip */ |
3202 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); | 3206 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
3203 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); | 3207 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); |
3208 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: | ||
3209 | /* this turns the remote control chip off to work around a bug in it */ | ||
3210 | saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); | ||
3211 | saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); | ||
3212 | break; | ||
3204 | case SAA7134_BOARD_MONSTERTV_MOBILE: | 3213 | case SAA7134_BOARD_MONSTERTV_MOBILE: |
3205 | /* power-up tuner chip */ | 3214 | /* power-up tuner chip */ |
3206 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); | 3215 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |