The patch number 10299 was added via Mauro Carvalho Chehab <mche...@redhat.com>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Douglas Kosovic  <dougl...@itee.uq.edu.au>
bttv: Add support for IVCE-8784 support for V4L2 bttv driver


It's a quad Bt878 PCI-e x1 capture board that's basically the same as the
IVC-200 (quad Bt878 PCI) capture board that's currently supported in
the V4L2 bttv driver.

Manufacturer's web page for IVCE-8784 with photo and info:
  http://www.iei.com.tw/en/product_IPC.asp?model=IVCE-8784

Signed-off-by: Douglas Kosovic <dougl...@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>


---

 linux/Documentation/video4linux/CARDLIST.bttv |    1 +
 linux/drivers/media/video/bt8xx/bttv-cards.c  |   17 +++++++++++++++++
 linux/drivers/media/video/bt8xx/bttv.h        |    1 +
 3 files changed, 19 insertions(+)

diff -r d0cfae040789 -r 20ff2a972cf5 
linux/Documentation/video4linux/CARDLIST.bttv
--- a/linux/Documentation/video4linux/CARDLIST.bttv     Thu Jan 08 12:13:42 
2009 +0000
+++ b/linux/Documentation/video4linux/CARDLIST.bttv     Fri Jan 23 00:07:26 
2009 -0200
@@ -154,3 +154,4 @@ 153 -> PHYTEC VD-012 (bt878)
 153 -> PHYTEC VD-012 (bt878)
 154 -> PHYTEC VD-012-X1 (bt878)
 155 -> PHYTEC VD-012-X2 (bt878)
+156 -> IVCE-8784                                           
[0000:f050,0001:f050,0002:f050,0003:f050]
diff -r d0cfae040789 -r 20ff2a972cf5 
linux/drivers/media/video/bt8xx/bttv-cards.c
--- a/linux/drivers/media/video/bt8xx/bttv-cards.c      Thu Jan 08 12:13:42 
2009 +0000
+++ b/linux/drivers/media/video/bt8xx/bttv-cards.c      Fri Jan 23 00:07:26 
2009 -0200
@@ -247,6 +247,10 @@ static struct CARD {
        { 0xa182ff0d, BTTV_BOARD_IVC120,        "IVC-120G" },
        { 0xa182ff0e, BTTV_BOARD_IVC120,        "IVC-120G" },
        { 0xa182ff0f, BTTV_BOARD_IVC120,        "IVC-120G" },
+       { 0xf0500000, BTTV_BOARD_IVCE8784,      "IVCE-8784" },
+       { 0xf0500001, BTTV_BOARD_IVCE8784,      "IVCE-8784" },
+       { 0xf0500002, BTTV_BOARD_IVCE8784,      "IVCE-8784" },
+       { 0xf0500003, BTTV_BOARD_IVCE8784,      "IVCE-8784" },
 
        { 0x41424344, BTTV_BOARD_GRANDTEC,      "GrandTec Multi Capture" },
        { 0x01020304, BTTV_BOARD_XGUARD,        "Grandtec Grand X-Guard" },
@@ -2176,6 +2180,19 @@ struct tvcard bttv_tvcards[] = {
                .tuner          = UNSET,
                .tuner_type     = UNSET,
                .tuner_addr     = ADDR_UNSET,
+               .radio_addr     = ADDR_UNSET,
+               .svhs           = UNSET,
+               .gpiomask       = 0xdf,
+               .muxsel         = { 2 },
+               .pll            = PLL_28,
+       },
+       [BTTV_BOARD_IVCE8784] = {
+               .name           = "IVCE-8784",
+               .video_inputs   = 1,
+               .audio_inputs   = 0,
+               .tuner          = UNSET,
+               .tuner_type     = UNSET,
+               .tuner_addr     = ADDR_UNSET,
                .radio_addr     = ADDR_UNSET,
                .svhs           = UNSET,
                .gpiomask       = 0xdf,
diff -r d0cfae040789 -r 20ff2a972cf5 linux/drivers/media/video/bt8xx/bttv.h
--- a/linux/drivers/media/video/bt8xx/bttv.h    Thu Jan 08 12:13:42 2009 +0000
+++ b/linux/drivers/media/video/bt8xx/bttv.h    Fri Jan 23 00:07:26 2009 -0200
@@ -181,6 +181,7 @@
 #define BTTV_BOARD_VD012                  0x99
 #define BTTV_BOARD_VD012_X1               0x9a
 #define BTTV_BOARD_VD012_X2               0x9b
+#define BTTV_BOARD_IVCE8784               0x9c
 
 
 /* more card-specific defines */


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/20ff2a972cf5ed468efdb6cd42819b4b7a6f46f7

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to