diff options
author | Gerd Knorr <devnull@localhost> | 2004-10-25 11:26:35 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-10-25 11:26:35 +0000 |
commit | 500c59b431256f91f87b8c82dfa13982d08fc780 (patch) | |
tree | 4666be071a93b383ebda3b7bcab826d3a1b9adc6 /linux/drivers/media/video/saa7134 | |
parent | a3447d4616de78c449b78904b8b5e66db92f2c58 (diff) | |
download | mediapointer-dvb-s2-500c59b431256f91f87b8c82dfa13982d08fc780.tar.gz mediapointer-dvb-s2-500c59b431256f91f87b8c82dfa13982d08fc780.tar.bz2 |
- new saa7134 card by Nickolay V. Shmyrev
- misc stuff
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 41 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-input.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134.h | 5 |
3 files changed, 44 insertions, 5 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index 784220844..b4edb34a1 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-cards.c,v 1.30 2004/10/19 16:02:05 kraxel Exp $ + * $Id: saa7134-cards.c,v 1.31 2004/10/25 11:26:36 kraxel Exp $ * * device driver for philips saa7134 based TV cards * card-specific stuff. @@ -1174,7 +1174,7 @@ struct saa7134_board saa7134_boards[] = { .tv = 1, }}, }, - [SAA7134_EMPIRE_PCI_TV_RADIO_LE] = { + [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = { /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */ .name = "Empire PCI TV-Radio LE", .audio_clock = 0x00187de7, @@ -1208,6 +1208,35 @@ struct saa7134_board saa7134_boards[] = { .gpio =0x8000, } }, + [SAA7134_BOARD_AVERMEDIA_307] = { + /* Nickolay V. Shmyrev <nshmyrev@yandex.ru> */ + .name = "Avermedia AVerTV Studio 307", + .audio_clock = 0x00187de7, + .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, + .tda9887_conf = TDA9887_PRESENT, + .inputs = {{ + .name = name_tv, + .vmux = 1, + .amux = TV, + .tv = 1, + },{ + .name = name_comp1, + .vmux = 0, + .amux = LINE2, + },{ + .name = name_comp2, + .vmux = 3, + .amux = LINE2, + },{ + .name = name_svideo, + .vmux = 8, + .amux = LINE2, + }}, + .radio = { + .name = name_radio, + .amux = TV, + }, + }, }; const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); @@ -1435,6 +1464,13 @@ struct pci_device_id saa7134_pci_tbl[] = { .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR, },{ + .vendor = PCI_VENDOR_ID_PHILIPS, + .device = PCI_DEVICE_ID_PHILIPS_SAA7134, + .subvendor = 0x1461, /* Avermedia Technologies Inc */ + .subdevice = 0x9715, + .driver_data = SAA7134_BOARD_AVERMEDIA_307, + + },{ /* --- boards without eeprom + subsystem ID --- */ .vendor = PCI_VENDOR_ID_PHILIPS, .device = PCI_DEVICE_ID_PHILIPS_SAA7134, @@ -1550,6 +1586,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) case SAA7134_BOARD_ECS_TVP3XP: case SAA7134_BOARD_ECS_TVP3XP_4CB5: case SAA7134_BOARD_MD2819: + case SAA7134_BOARD_AVERMEDIA_307: dev->has_remote = 1; break; case SAA7134_BOARD_AVACSSMARTTV: diff --git a/linux/drivers/media/video/saa7134/saa7134-input.c b/linux/drivers/media/video/saa7134/saa7134-input.c index ff0582136..b59a63f1a 100644 --- a/linux/drivers/media/video/saa7134/saa7134-input.c +++ b/linux/drivers/media/video/saa7134/saa7134-input.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-input.c,v 1.10 2004/10/13 10:39:00 kraxel Exp $ + * $Id: saa7134-input.c,v 1.11 2004/10/25 11:26:36 kraxel Exp $ * * handle saa7134 IR remotes via linux kernel input layer. * @@ -353,6 +353,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) polling = 50; // ms break; case SAA7134_BOARD_MD2819: + case SAA7134_BOARD_AVERMEDIA_307: ir_codes = md2819_codes; mask_keycode = 0x0007C8; mask_keydown = 0x000010; diff --git a/linux/drivers/media/video/saa7134/saa7134.h b/linux/drivers/media/video/saa7134/saa7134.h index b55aa1b17..ebaa6e76f 100644 --- a/linux/drivers/media/video/saa7134/saa7134.h +++ b/linux/drivers/media/video/saa7134/saa7134.h @@ -1,5 +1,5 @@ /* - * $Id: saa7134.h,v 1.24 2004/10/20 17:44:24 kraxel Exp $ + * $Id: saa7134.h,v 1.25 2004/10/25 11:26:36 kraxel Exp $ * * v4l2 device driver for philips saa7134 based TV cards * @@ -184,7 +184,8 @@ struct saa7134_format { #define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS 41 #define SAA7134_BOARD_SABRENT_SBTTVFM 42 #define SAA7134_BOARD_ZOLID_XPERT_TV7134 43 -#define SAA7134_EMPIRE_PCI_TV_RADIO_LE 44 +#define SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE 44 +#define SAA7134_BOARD_AVERMEDIA_307 45 #define SAA7134_MAXBOARDS 8 #define SAA7134_INPUT_MAX 8 |