diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-26 16:03:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:10 -0400 |
commit | 36f6bb97caa772d7dc42250db74253e0867a444a (patch) | |
tree | 995f45571dae16a24c8a6ace84dd2ad834f6324f /drivers/media/video/saa7134/saa7134-cards.c | |
parent | bf1ece6a4f30f05b227f2ec59fa0d45b5db186d2 (diff) |
V4L/DVB (9060): saa7134: Add support for Avermedia PCI pure analog (M135A)
Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring
this development.
Signed-off-by: Gilberto <gilberto@sistemafenix.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 3ad5b941dfb9..a16ddb21288f 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3671,6 +3671,40 @@ struct saa7134_board saa7134_boards[] = { | |||
3671 | .tv = 1, | 3671 | .tv = 1, |
3672 | }}, | 3672 | }}, |
3673 | }, | 3673 | }, |
3674 | [SAA7134_BOARD_AVERMEDIA_M135A] = { | ||
3675 | .name = "Avermedia PCI pure analog (M135A)", | ||
3676 | .audio_clock = 0x00187de7, | ||
3677 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
3678 | .radio_type = UNSET, | ||
3679 | .tuner_addr = ADDR_UNSET, | ||
3680 | .radio_addr = ADDR_UNSET, | ||
3681 | .tuner_config = 2, | ||
3682 | .gpiomask = 0x020200000, | ||
3683 | .inputs = {{ | ||
3684 | .name = name_tv, | ||
3685 | .vmux = 1, | ||
3686 | .amux = TV, | ||
3687 | .tv = 1, | ||
3688 | }, { | ||
3689 | .name = name_comp1, | ||
3690 | .vmux = 3, | ||
3691 | .amux = LINE1, | ||
3692 | }, { | ||
3693 | .name = name_svideo, | ||
3694 | .vmux = 8, | ||
3695 | .amux = LINE1, | ||
3696 | } }, | ||
3697 | .radio = { | ||
3698 | .name = name_radio, | ||
3699 | .amux = TV, | ||
3700 | .gpio = 0x00200000, | ||
3701 | }, | ||
3702 | .mute = { | ||
3703 | .name = name_mute, | ||
3704 | .amux = TV, | ||
3705 | .gpio = 0x01, | ||
3706 | }, | ||
3707 | }, | ||
3674 | [SAA7134_BOARD_BEHOLD_401] = { | 3708 | [SAA7134_BOARD_BEHOLD_401] = { |
3675 | /* Beholder Intl. Ltd. 2008 */ | 3709 | /* Beholder Intl. Ltd. 2008 */ |
3676 | /*Dmitry Belimov <d.belimov@gmail.com> */ | 3710 | /*Dmitry Belimov <d.belimov@gmail.com> */ |
@@ -4847,6 +4881,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
4847 | 4881 | ||
4848 | },{ | 4882 | },{ |
4849 | .vendor = PCI_VENDOR_ID_PHILIPS, | 4883 | .vendor = PCI_VENDOR_ID_PHILIPS, |
4884 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
4885 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ | ||
4886 | .subdevice = 0xf11d, | ||
4887 | .driver_data = SAA7134_BOARD_AVERMEDIA_M135A, | ||
4888 | }, { | ||
4889 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
4850 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, | 4890 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
4851 | .subvendor = PCI_VENDOR_ID_PHILIPS, | 4891 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
4852 | .subdevice = 0x2004, | 4892 | .subdevice = 0x2004, |
@@ -5702,6 +5742,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
5702 | case SAA7134_BOARD_AVERMEDIA_STUDIO_507: | 5742 | case SAA7134_BOARD_AVERMEDIA_STUDIO_507: |
5703 | case SAA7134_BOARD_AVERMEDIA_GO_007_FM: | 5743 | case SAA7134_BOARD_AVERMEDIA_GO_007_FM: |
5704 | case SAA7134_BOARD_AVERMEDIA_777: | 5744 | case SAA7134_BOARD_AVERMEDIA_777: |
5745 | case SAA7134_BOARD_AVERMEDIA_M135A: | ||
5705 | /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */ | 5746 | /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */ |
5706 | case SAA7134_BOARD_VIDEOMATE_TV_PVR: | 5747 | case SAA7134_BOARD_VIDEOMATE_TV_PVR: |
5707 | case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS: | 5748 | case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS: |