diff options
author | Aron Szabo <aron@aron.ws> | 2008-07-27 12:47:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-27 13:22:50 -0400 |
commit | 59d07f1b705c466ea4eaca9c43d46be6d6a065a4 (patch) | |
tree | cb1f72c43ced83d13cfe53ebaa67d7a2585b5fe8 | |
parent | 50cb993ea6cd187bfed085cb3e0747066edeb02f (diff) |
V4L/DVB (8538): em28xx-cards: Add GrabBeeX+ USB2800 model
Added GrabBeeX+ USB2800 model (analog only)
[mchehab@infradead.org: Need to fix some merge conflicts]
Signed-off-by: Aron Szabo <aron@aron.ws>
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | Documentation/video4linux/CARDLIST.em28xx | 1 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 19 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx index ef0c3ddacae6..42be129609b7 100644 --- a/Documentation/video4linux/CARDLIST.em28xx +++ b/Documentation/video4linux/CARDLIST.em28xx | |||
@@ -19,3 +19,4 @@ | |||
19 | 18 -> Hauppauge WinTV HVR 900 (R2) (em2880) [2040:6502] | 19 | 18 -> Hauppauge WinTV HVR 900 (R2) (em2880) [2040:6502] |
20 | 19 -> PointNix Intra-Oral Camera (em2860) | 20 | 19 -> PointNix Intra-Oral Camera (em2860) |
21 | 20 -> AMD ATI TV Wonder HD 600 (em2880) [0438:b002] | 21 | 20 -> AMD ATI TV Wonder HD 600 (em2880) [0438:b002] |
22 | 21 -> eMPIA Technology, Inc. GrabBeeX+ Video Encoder (em2800) [eb1a:2801] | ||
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 81f9ff55588d..9b29c8f4c18a 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -375,6 +375,21 @@ struct em28xx_board em28xx_boards[] = { | |||
375 | .amux = 1, | 375 | .amux = 1, |
376 | } }, | 376 | } }, |
377 | }, | 377 | }, |
378 | [EM2800_BOARD_GRABBEEX_USB2800] = { | ||
379 | .name = "eMPIA Technology, Inc. GrabBeeX+ Video Encoder", | ||
380 | .is_em2800 = 1, | ||
381 | .vchannels = 2, | ||
382 | .decoder = EM28XX_SAA7113, | ||
383 | .input = { { | ||
384 | .type = EM28XX_VMUX_COMPOSITE1, | ||
385 | .vmux = SAA7115_COMPOSITE0, | ||
386 | .amux = 1, | ||
387 | }, { | ||
388 | .type = EM28XX_VMUX_SVIDEO, | ||
389 | .vmux = SAA7115_SVIDEO3, | ||
390 | .amux = 1, | ||
391 | } }, | ||
392 | }, | ||
378 | [EM2800_BOARD_LEADTEK_WINFAST_USBII] = { | 393 | [EM2800_BOARD_LEADTEK_WINFAST_USBII] = { |
379 | .name = "Leadtek Winfast USB II", | 394 | .name = "Leadtek Winfast USB II", |
380 | .is_em2800 = 1, | 395 | .is_em2800 = 1, |
@@ -541,6 +556,8 @@ struct usb_device_id em28xx_id_table [] = { | |||
541 | .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS }, | 556 | .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS }, |
542 | { USB_DEVICE(0x0438, 0xb002), | 557 | { USB_DEVICE(0x0438, 0xb002), |
543 | .driver_info = EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 }, | 558 | .driver_info = EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 }, |
559 | { USB_DEVICE(0xeb1a, 0x2801), | ||
560 | .driver_info = EM2800_BOARD_GRABBEEX_USB2800 }, | ||
544 | { }, | 561 | { }, |
545 | }; | 562 | }; |
546 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); | 563 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); |
@@ -863,6 +880,8 @@ void em28xx_set_ir(struct em28xx *dev, struct IR_i2c *ir) | |||
863 | break; | 880 | break; |
864 | case (EM2800_BOARD_KWORLD_USB2800): | 881 | case (EM2800_BOARD_KWORLD_USB2800): |
865 | break; | 882 | break; |
883 | case (EM2800_BOARD_GRABBEEX_USB2800): | ||
884 | break; | ||
866 | } | 885 | } |
867 | } | 886 | } |
868 | 887 | ||
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 9da877375cfb..84bc0b902ac8 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -59,6 +59,7 @@ | |||
59 | #define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18 | 59 | #define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18 |
60 | #define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19 | 60 | #define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19 |
61 | #define EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 20 | 61 | #define EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 20 |
62 | #define EM2800_BOARD_GRABBEEX_USB2800 21 | ||
62 | 63 | ||
63 | /* Limits minimum and default number of buffers */ | 64 | /* Limits minimum and default number of buffers */ |
64 | #define EM28XX_MIN_BUF 4 | 65 | #define EM28XX_MIN_BUF 4 |