aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMarkus Rechberger <mrechberger@gmail.com>2006-02-07 00:14:16 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-02-07 04:41:10 -0500
commit282b7cb3e03d9ada4067083e61919d74197a1e5a (patch)
tree91a4c243df0df5df5174717f9a2858eecfaf45ef /drivers/media/video/em28xx
parentf1e5ee45b4a0216ac4f0a9c41e488032391e8575 (diff)
V4L/DVB (3326): Adding support for Terratec Prodigy XS
Adding support for Terratec Prodigy XS Signed-off-by: Markus Rechberger <mrechberger@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c26
-rw-r--r--drivers/media/video/em28xx/em28xx.h1
2 files changed, 27 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index a9e7cec17a6b..703927e8da13 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -198,6 +198,30 @@ struct em28xx_board em28xx_boards[] = {
198 .amux = 1, 198 .amux = 1,
199 }}, 199 }},
200 }, 200 },
201 /* maybe there's a reason behind it why Terratec sells the Hybrid XS as Prodigy XS with a
202 * different PID, let's keep it separated for now maybe we'll need it lateron */
203 [EM2880_BOARD_TERRATEC_PRODIGY_XS] = {
204 .name = "Terratec Prodigy XS",
205 .vchannels = 3,
206 .norm = VIDEO_MODE_PAL,
207 .tda9887_conf = TDA9887_PRESENT,
208 .has_tuner = 1,
209 .tuner_type = TUNER_XCEIVE_XC3028,
210 .decoder = EM28XX_TVP5150,
211 .input = {{
212 .type = EM28XX_VMUX_TELEVISION,
213 .vmux = 0,
214 .amux = 0,
215 },{
216 .type = EM28XX_VMUX_COMPOSITE1,
217 .vmux = 2,
218 .amux = 1,
219 },{
220 .type = EM28XX_VMUX_SVIDEO,
221 .vmux = 9,
222 .amux = 1,
223 }},
224 },
201 [EM2820_BOARD_MSI_VOX_USB_2] = { 225 [EM2820_BOARD_MSI_VOX_USB_2] = {
202 .name = "MSI VOX USB 2.0", 226 .name = "MSI VOX USB 2.0",
203 .vchannels = 3, 227 .vchannels = 3,
@@ -318,6 +342,7 @@ struct usb_device_id em28xx_id_table [] = {
318 { USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 }, 342 { USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
319 { USB_DEVICE(0x2040, 0x6500), .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 }, 343 { USB_DEVICE(0x2040, 0x6500), .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 },
320 { USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, 344 { USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS },
345 { USB_DEVICE(0x0ccd, 0x0047), .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS },
321 { }, 346 { },
322}; 347};
323 348
@@ -325,6 +350,7 @@ void em28xx_pre_card_setup(struct em28xx *dev)
325{ 350{
326 /* request some modules */ 351 /* request some modules */
327 switch(dev->model){ 352 switch(dev->model){
353 case EM2880_BOARD_TERRATEC_PRODIGY_XS:
328 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: 354 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
329 case EM2880_BOARD_TERRATEC_HYBRID_XS: 355 case EM2880_BOARD_TERRATEC_HYBRID_XS:
330 { 356 {
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 4e2fe62b7350..e1ddc2f27a21 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -45,6 +45,7 @@
45#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 10 45#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 10
46#define EM2880_BOARD_TERRATEC_HYBRID_XS 11 46#define EM2880_BOARD_TERRATEC_HYBRID_XS 11
47#define EM2820_BOARD_KWORLD_PVRTV2800RF 12 47#define EM2820_BOARD_KWORLD_PVRTV2800RF 12
48#define EM2880_BOARD_TERRATEC_PRODIGY_XS 13
48 49
49#define UNSET -1 50#define UNSET -1
50 51