[media] bttv: Add Adlink MPG24 entry to the bttv cardlist
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 12 Apr 2013 12:30:29 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 11:06:11 +0000 (08:06 -0300)
Add a proper card entry for this device, rather than abusing entries that are
not-quite-right.
Regards,
Hans

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/CARDLIST.bttv
drivers/media/pci/bt8xx/bttv-cards.c
drivers/media/pci/bt8xx/bttv.h

index 581f666a76cfc9b4200053f347b257756ee1a6c6..407ab4660dce78fdf19d99bba151ca01a4df36a0 100644 (file)
 159 -> ProVideo PV183                                      [1830:1540,1831:1540,1832:1540,1833:1540,1834:1540,1835:1540,1836:1540,1837:1540]
 160 -> Tongwei Video Technology TD-3116                    [f200:3116]
 161 -> Aposonic W-DVR                                      [0279:0228]
+162 -> Adlink MPG24
index b7dc921e1b9113f6777735af1f337d3430b41fd8..8d327ff60e370d6991ae0579230080b91770cf2d 100644 (file)
@@ -2705,7 +2705,7 @@ struct tvcard bttv_tvcards[] = {
                .has_radio      = 1,
                .has_remote     = 1,
        },
-               [BTTV_BOARD_VD012] = {
+       [BTTV_BOARD_VD012] = {
                /* D.Heer@Phytec.de */
                .name           = "PHYTEC VD-012 (bt878)",
                .video_inputs   = 4,
@@ -2718,7 +2718,7 @@ struct tvcard bttv_tvcards[] = {
                .tuner_type     = TUNER_ABSENT,
                .tuner_addr     = ADDR_UNSET,
        },
-               [BTTV_BOARD_VD012_X1] = {
+       [BTTV_BOARD_VD012_X1] = {
                /* D.Heer@Phytec.de */
                .name           = "PHYTEC VD-012-X1 (bt878)",
                .video_inputs   = 4,
@@ -2731,7 +2731,7 @@ struct tvcard bttv_tvcards[] = {
                .tuner_type     = TUNER_ABSENT,
                .tuner_addr     = ADDR_UNSET,
        },
-               [BTTV_BOARD_VD012_X2] = {
+       [BTTV_BOARD_VD012_X2] = {
                /* D.Heer@Phytec.de */
                .name           = "PHYTEC VD-012-X2 (bt878)",
                .video_inputs   = 4,
@@ -2744,7 +2744,7 @@ struct tvcard bttv_tvcards[] = {
                .tuner_type     = TUNER_ABSENT,
                .tuner_addr     = ADDR_UNSET,
        },
-               [BTTV_BOARD_GEOVISION_GV800S] = {
+       [BTTV_BOARD_GEOVISION_GV800S] = {
                /* Bruno Christo <bchristo@inf.ufsm.br>
                 *
                 * GeoVision GV-800(S) has 4 Conexant Fusion 878A:
@@ -2771,7 +2771,7 @@ struct tvcard bttv_tvcards[] = {
                .no_tda7432     = 1,
                .muxsel_hook    = gv800s_muxsel,
        },
-               [BTTV_BOARD_GEOVISION_GV800S_SL] = {
+       [BTTV_BOARD_GEOVISION_GV800S_SL] = {
                /* Bruno Christo <bchristo@inf.ufsm.br>
                 *
                 * GeoVision GV-800(S) has 4 Conexant Fusion 878A:
@@ -2808,6 +2808,7 @@ struct tvcard bttv_tvcards[] = {
                .tuner_type     = TUNER_ABSENT,
                .tuner_addr     = ADDR_UNSET,
        },
+       /* ---- card 0xa0---------------------------------- */
        [BTTV_BOARD_TVT_TD3116] = {
                .name           = "Tongwei Video Technology TD-3116",
                .video_inputs   = 16,
@@ -2825,6 +2826,17 @@ struct tvcard bttv_tvcards[] = {
                .muxsel         = MUXSEL(2, 3, 1, 0),
                .tuner_type     = TUNER_ABSENT,
        },
+       [BTTV_BOARD_ADLINK_MPG24] = {
+               /* Adlink MPG24 */
+               .name           = "Adlink MPG24",
+               .video_inputs   = 1,
+               /* .audio_inputs= 1, */
+               .svhs           = NO_SVHS,
+               .muxsel         = MUXSEL(2, 2, 2, 2),
+               .tuner_type     = UNSET,
+               .tuner_addr     = ADDR_UNSET,
+               .pll            = PLL_28,
+       },
 
 };
 
index 6139ce26dc2c63039bdf27261eaa072cbe6979df..f01c9d4c7ec1efe9feb9a719c91dde77bffd267d 100644 (file)
 #define BTTV_BOARD_PV183                   0x9f
 #define BTTV_BOARD_TVT_TD3116             0xa0
 #define BTTV_BOARD_APOSONIC_WDVR           0xa1
+#define BTTV_BOARD_ADLINK_MPG24            0xa2
 
 /* more card-specific defines */
 #define PT2254_L_CHANNEL 0x10