diff options
author | Dirk Heer <D.Heer@phytec.de> | 2008-11-21 17:00:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:37 -0500 |
commit | 05583625710dfd75880a6cbb68292929d1d4c33c (patch) | |
tree | 083887a11f76042c5003c9565c14342c493d141c /drivers/media/video/bt8xx/bttv-cards.c | |
parent | 31e0530c32701fc14b845ef84fe61b66e9c5398c (diff) |
V4L/DVB (9677): bttv: fix some entries on Phytec boards and add missing ones
This Patch does modify the bttv-cards.c and bttc.h so that the driver
supports VD-011, VD-012, VD-012-X1 and VD-012-X2 Framegrabber from
Phytec Messtechnik GmbH.
Signed-off-by: Dirk Heer <d.heer@phytec.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-cards.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 60 |
1 files changed, 54 insertions, 6 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 13742b0bbe3e..8629b77666f6 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -2217,9 +2217,9 @@ struct tvcard bttv_tvcards[] = { | |||
2217 | .tuner_addr = ADDR_UNSET, | 2217 | .tuner_addr = ADDR_UNSET, |
2218 | .radio_addr = ADDR_UNSET, | 2218 | .radio_addr = ADDR_UNSET, |
2219 | }, | 2219 | }, |
2220 | [BTTV_BOARD_VD009X1_MINIDIN] = { | 2220 | [BTTV_BOARD_VD009X1_VD011_MINIDIN] = { |
2221 | /* M.Klahr@phytec.de */ | 2221 | /* M.Klahr@phytec.de */ |
2222 | .name = "PHYTEC VD-009-X1 MiniDIN (bt878)", | 2222 | .name = "PHYTEC VD-009-X1 VD-011 MiniDIN (bt878)", |
2223 | .video_inputs = 4, | 2223 | .video_inputs = 4, |
2224 | .audio_inputs = 0, | 2224 | .audio_inputs = 0, |
2225 | .tuner = UNSET, /* card has no tuner */ | 2225 | .tuner = UNSET, /* card has no tuner */ |
@@ -2227,14 +2227,14 @@ struct tvcard bttv_tvcards[] = { | |||
2227 | .gpiomask = 0x00, | 2227 | .gpiomask = 0x00, |
2228 | .muxsel = { 2, 3, 1, 0 }, | 2228 | .muxsel = { 2, 3, 1, 0 }, |
2229 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2229 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2230 | .needs_tvaudio = 1, | 2230 | .needs_tvaudio = 0, |
2231 | .pll = PLL_28, | 2231 | .pll = PLL_28, |
2232 | .tuner_type = UNSET, | 2232 | .tuner_type = UNSET, |
2233 | .tuner_addr = ADDR_UNSET, | 2233 | .tuner_addr = ADDR_UNSET, |
2234 | .radio_addr = ADDR_UNSET, | 2234 | .radio_addr = ADDR_UNSET, |
2235 | }, | 2235 | }, |
2236 | [BTTV_BOARD_VD009X1_COMBI] = { | 2236 | [BTTV_BOARD_VD009X1_VD011_COMBI] = { |
2237 | .name = "PHYTEC VD-009-X1 Combi (bt878)", | 2237 | .name = "PHYTEC VD-009-X1 VD-011 Combi (bt878)", |
2238 | .video_inputs = 4, | 2238 | .video_inputs = 4, |
2239 | .audio_inputs = 0, | 2239 | .audio_inputs = 0, |
2240 | .tuner = UNSET, /* card has no tuner */ | 2240 | .tuner = UNSET, /* card has no tuner */ |
@@ -2242,7 +2242,7 @@ struct tvcard bttv_tvcards[] = { | |||
2242 | .gpiomask = 0x00, | 2242 | .gpiomask = 0x00, |
2243 | .muxsel = { 2, 3, 1, 1 }, | 2243 | .muxsel = { 2, 3, 1, 1 }, |
2244 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | 2244 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ |
2245 | .needs_tvaudio = 1, | 2245 | .needs_tvaudio = 0, |
2246 | .pll = PLL_28, | 2246 | .pll = PLL_28, |
2247 | .tuner_type = UNSET, | 2247 | .tuner_type = UNSET, |
2248 | .tuner_addr = ADDR_UNSET, | 2248 | .tuner_addr = ADDR_UNSET, |
@@ -3061,6 +3061,54 @@ struct tvcard bttv_tvcards[] = { | |||
3061 | .pll = PLL_28, | 3061 | .pll = PLL_28, |
3062 | .has_radio = 1, | 3062 | .has_radio = 1, |
3063 | .has_remote = 1, | 3063 | .has_remote = 1, |
3064 | }, | ||
3065 | [BTTV_BOARD_VD012] = { | ||
3066 | /* D.Heer@Phytec.de */ | ||
3067 | .name = "PHYTEC VD-012 (bt878)", | ||
3068 | .video_inputs = 4, | ||
3069 | .audio_inputs = 0, | ||
3070 | .tuner = UNSET, /* card has no tuner */ | ||
3071 | .svhs = UNSET, /* card has no s-video */ | ||
3072 | .gpiomask = 0x00, | ||
3073 | .muxsel = { 0, 2, 3, 1 }, | ||
3074 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | ||
3075 | .needs_tvaudio = 0, | ||
3076 | .pll = PLL_28, | ||
3077 | .tuner_type = UNSET, | ||
3078 | .tuner_addr = ADDR_UNSET, | ||
3079 | .radio_addr = ADDR_UNSET, | ||
3080 | }, | ||
3081 | [BTTV_BOARD_VD012_X1] = { | ||
3082 | /* D.Heer@Phytec.de */ | ||
3083 | .name = "PHYTEC VD-012-X1 (bt878)", | ||
3084 | .video_inputs = 4, | ||
3085 | .audio_inputs = 0, | ||
3086 | .tuner = UNSET, /* card has no tuner */ | ||
3087 | .svhs = 3, | ||
3088 | .gpiomask = 0x00, | ||
3089 | .muxsel = { 2, 3, 1 }, | ||
3090 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | ||
3091 | .needs_tvaudio = 0, | ||
3092 | .pll = PLL_28, | ||
3093 | .tuner_type = UNSET, | ||
3094 | .tuner_addr = ADDR_UNSET, | ||
3095 | .radio_addr = ADDR_UNSET, | ||
3096 | }, | ||
3097 | [BTTV_BOARD_VD012_X2] = { | ||
3098 | /* D.Heer@Phytec.de */ | ||
3099 | .name = "PHYTEC VD-012-X2 (bt878)", | ||
3100 | .video_inputs = 4, | ||
3101 | .audio_inputs = 0, | ||
3102 | .tuner = UNSET, /* card has no tuner */ | ||
3103 | .svhs = 3, | ||
3104 | .gpiomask = 0x00, | ||
3105 | .muxsel = { 3, 2, 1 }, | ||
3106 | .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ | ||
3107 | .needs_tvaudio = 0, | ||
3108 | .pll = PLL_28, | ||
3109 | .tuner_type = UNSET, | ||
3110 | .tuner_addr = ADDR_UNSET, | ||
3111 | .radio_addr = ADDR_UNSET, | ||
3064 | } | 3112 | } |
3065 | }; | 3113 | }; |
3066 | 3114 | ||