diff options
author | Zac Bowling <zac@zacbowling.com> | 2006-06-19 18:49:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:10 -0400 |
commit | f49ba8d7cd252eac19004e2ebe18dfffe548c2c3 (patch) | |
tree | a91742f82beba13ce29f673907f06446d6491fad /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 4ceb04e1b1cf724b6ed805955adfbbdfa8a3d436 (diff) |
V4L/DVB (4115): Saa7134 card (LifeView3000 NTSC)
Add detection for the LifeView3000 NTSC model (right now the PAL version is
the only one in there, which is sort of annoying for me living in the US
and all.. sigh...)
This is one of those things that I like to classify "as a works for me so
take it or leave it" :-) . Not that worried because its an $18 video
capture card that didn't look it was selling to well in the US, but then
again who knows.
The documentation needs updating too I bet but its behind anyways usually
to what is in the code.
Signed-off-by: Zac Bowling <zac@zacbowling.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 86eae3528330..e638b198786e 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -2842,6 +2842,55 @@ struct saa7134_board saa7134_boards[] = { | |||
2842 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ | 2842 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
2843 | }, | 2843 | }, |
2844 | }, | 2844 | }, |
2845 | [SAA7134_BOARD_FLYVIDEO3000_NTSC] = { | ||
2846 | /* "Zac Bowling" <zac@zacbowling.com> */ | ||
2847 | .name = "LifeView FlyVIDEO3000 (NTSC)", | ||
2848 | .audio_clock = 0x00200000, | ||
2849 | .tuner_type = TUNER_PHILIPS_NTSC, | ||
2850 | .radio_type = UNSET, | ||
2851 | .tuner_addr = ADDR_UNSET, | ||
2852 | .radio_addr = ADDR_UNSET, | ||
2853 | |||
2854 | .gpiomask = 0xe000, | ||
2855 | .inputs = {{ | ||
2856 | .name = name_tv, | ||
2857 | .vmux = 1, | ||
2858 | .amux = TV, | ||
2859 | .gpio = 0x8000, | ||
2860 | .tv = 1, | ||
2861 | },{ | ||
2862 | .name = name_tv_mono, | ||
2863 | .vmux = 1, | ||
2864 | .amux = LINE2, | ||
2865 | .gpio = 0x0000, | ||
2866 | .tv = 1, | ||
2867 | },{ | ||
2868 | .name = name_comp1, | ||
2869 | .vmux = 0, | ||
2870 | .amux = LINE2, | ||
2871 | .gpio = 0x4000, | ||
2872 | },{ | ||
2873 | .name = name_comp2, | ||
2874 | .vmux = 3, | ||
2875 | .amux = LINE2, | ||
2876 | .gpio = 0x4000, | ||
2877 | },{ | ||
2878 | .name = name_svideo, | ||
2879 | .vmux = 8, | ||
2880 | .amux = LINE2, | ||
2881 | .gpio = 0x4000, | ||
2882 | }}, | ||
2883 | .radio = { | ||
2884 | .name = name_radio, | ||
2885 | .amux = LINE2, | ||
2886 | .gpio = 0x2000, | ||
2887 | }, | ||
2888 | .mute = { | ||
2889 | .name = name_mute, | ||
2890 | .amux = TV, | ||
2891 | .gpio = 0x8000, | ||
2892 | }, | ||
2893 | }, | ||
2845 | }; | 2894 | }; |
2846 | 2895 | ||
2847 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 2896 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -2901,6 +2950,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
2901 | },{ | 2950 | },{ |
2902 | .vendor = PCI_VENDOR_ID_PHILIPS, | 2951 | .vendor = PCI_VENDOR_ID_PHILIPS, |
2903 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 2952 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
2953 | .subvendor = 0x5169, | ||
2954 | .subdevice = 0x0138, | ||
2955 | .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC, | ||
2956 | },{ | ||
2957 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
2958 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
2904 | .subvendor = 0x5168, | 2959 | .subvendor = 0x5168, |
2905 | .subdevice = 0x0138, | 2960 | .subdevice = 0x0138, |
2906 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, | 2961 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, |
@@ -3459,6 +3514,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
3459 | switch (dev->board) { | 3514 | switch (dev->board) { |
3460 | case SAA7134_BOARD_FLYVIDEO2000: | 3515 | case SAA7134_BOARD_FLYVIDEO2000: |
3461 | case SAA7134_BOARD_FLYVIDEO3000: | 3516 | case SAA7134_BOARD_FLYVIDEO3000: |
3517 | case SAA7134_BOARD_FLYVIDEO3000_NTSC: | ||
3462 | dev->has_remote = SAA7134_REMOTE_GPIO; | 3518 | dev->has_remote = SAA7134_REMOTE_GPIO; |
3463 | board_flyvideo(dev); | 3519 | board_flyvideo(dev); |
3464 | break; | 3520 | break; |