aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/ivtv/ivtv-cards.c39
-rw-r--r--drivers/media/video/ivtv/ivtv-cards.h3
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c1
3 files changed, 42 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.c b/drivers/media/video/ivtv/ivtv-cards.c
index 3211809fe0c8..4bb2fe8bce0b 100644
--- a/drivers/media/video/ivtv/ivtv-cards.c
+++ b/drivers/media/video/ivtv/ivtv-cards.c
@@ -918,6 +918,44 @@ static const struct ivtv_card ivtv_card_avertv_mce116 = {
918 918
919/* ------------------------------------------------------------------------- */ 919/* ------------------------------------------------------------------------- */
920 920
921/* AVerMedia PVR-150 Plus (M113) card */
922
923static const struct ivtv_card_pci_info ivtv_pci_aver_pvr150[] = {
924 { PCI_DEVICE_ID_IVTV16, IVTV_PCI_ID_AVERMEDIA, 0xc035 },
925 { 0, 0, 0 }
926};
927
928static const struct ivtv_card ivtv_card_aver_pvr150 = {
929 .type = IVTV_CARD_AVER_PVR150PLUS,
930 .name = "AVerMedia PVR-150 Plus",
931 .v4l2_capabilities = IVTV_CAP_ENCODER,
932 .hw_video = IVTV_HW_CX25840,
933 .hw_audio = IVTV_HW_CX25840,
934 .hw_audio_ctrl = IVTV_HW_CX25840,
935 .hw_muxer = IVTV_HW_GPIO,
936 .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER,
937 .video_inputs = {
938 { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 },
939 { IVTV_CARD_INPUT_SVIDEO1, 1,
940 CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
941 { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
942 },
943 .audio_inputs = {
944 { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, 0 },
945 { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, 1 },
946 },
947 .radio_input = { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO_SERIAL, 2 },
948 .gpio_init = { .direction = 0x0800, .initial_value = 0 },
949 .gpio_audio_input = { .mask = 0x0800, .tuner = 0, .linein = 0, .radio = 0x0800 },
950 .tuners = {
951 /* This card has a Partsnic PTI-5NF05 tuner */
952 { .std = V4L2_STD_525_60, .tuner = TUNER_TCL_2002N },
953 },
954 .pci_list = ivtv_pci_aver_pvr150,
955};
956
957/* ------------------------------------------------------------------------- */
958
921/* ASUS Falcon2 */ 959/* ASUS Falcon2 */
922 960
923static const struct ivtv_card_pci_info ivtv_pci_asus_falcon2[] = { 961static const struct ivtv_card_pci_info ivtv_pci_asus_falcon2[] = {
@@ -977,6 +1015,7 @@ static const struct ivtv_card *ivtv_card_list[] = {
977 &ivtv_card_club3d, 1015 &ivtv_card_club3d,
978 &ivtv_card_avertv_mce116, 1016 &ivtv_card_avertv_mce116,
979 &ivtv_card_asus_falcon2, 1017 &ivtv_card_asus_falcon2,
1018 &ivtv_card_aver_pvr150,
980 1019
981 /* Variations of standard cards but with the same PCI IDs. 1020 /* Variations of standard cards but with the same PCI IDs.
982 These cards must come last in this list. */ 1021 These cards must come last in this list. */
diff --git a/drivers/media/video/ivtv/ivtv-cards.h b/drivers/media/video/ivtv/ivtv-cards.h
index 81707bbb60dc..881b04473163 100644
--- a/drivers/media/video/ivtv/ivtv-cards.h
+++ b/drivers/media/video/ivtv/ivtv-cards.h
@@ -46,7 +46,8 @@
46#define IVTV_CARD_CLUB3D 19 /* Club3D ZAP-TV1x01 */ 46#define IVTV_CARD_CLUB3D 19 /* Club3D ZAP-TV1x01 */
47#define IVTV_CARD_AVERTV_MCE116 20 /* AVerTV MCE 116 Plus */ 47#define IVTV_CARD_AVERTV_MCE116 20 /* AVerTV MCE 116 Plus */
48#define IVTV_CARD_ASUS_FALCON2 21 /* ASUS Falcon2 */ 48#define IVTV_CARD_ASUS_FALCON2 21 /* ASUS Falcon2 */
49#define IVTV_CARD_LAST 21 49#define IVTV_CARD_AVER_PVR150PLUS 22 /* AVerMedia PVR-150 Plus */
50#define IVTV_CARD_LAST 22
50 51
51/* Variants of existing cards but with the same PCI IDs. The driver 52/* Variants of existing cards but with the same PCI IDs. The driver
52 detects these based on other device information. 53 detects these based on other device information.
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index a8aca14f98a8..04179b7d1af0 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -186,6 +186,7 @@ MODULE_PARM_DESC(cardtype,
186 "\t\t\t20 = Club3D ZAP-TV1x01\n" 186 "\t\t\t20 = Club3D ZAP-TV1x01\n"
187 "\t\t\t21 = AverTV MCE 116 Plus\n" 187 "\t\t\t21 = AverTV MCE 116 Plus\n"
188 "\t\t\t22 = ASUS Falcon2\n" 188 "\t\t\t22 = ASUS Falcon2\n"
189 "\t\t\t23 = AverMedia PVR-150 Plus\n"
189 "\t\t\t 0 = Autodetect (default)\n" 190 "\t\t\t 0 = Autodetect (default)\n"
190 "\t\t\t-1 = Ignore this card\n\t\t"); 191 "\t\t\t-1 = Ignore this card\n\t\t");
191MODULE_PARM_DESC(pal, "Set PAL standard: B, G, H, D, K, I, M, N, Nc, 60"); 192MODULE_PARM_DESC(pal, "Set PAL standard: B, G, H, D, K, I, M, N, Nc, 60");