The patch number 11290 was added via Patrick Boettcher <[email protected]>
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 <[email protected]>

------

From: Klaus Flittner  <[email protected]>
Add Elgato EyeTV DTT to dibcom driver


This patch introduces support for DVB-T for the following dibcom based card:
  Elgato EyeTV DTT (USB-ID: 0fd9:0021)

Priority: normal

Signed-off-by: Klaus Flittner <[email protected]>
Signed-off-by: Patrick Boettcher <[email protected]>


---

 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c |    7 ++++++-
 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h     |    4 +++-
 linux/drivers/media/dvb/dvb-usb/dvb-usb.h         |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff -r d8a80818fea5 -r b46b861a4b12 
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Sun Mar 29 13:43:36 
2009 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Sun Mar 29 14:12:06 
2009 +0200
@@ -1496,6 +1496,7 @@ struct usb_device_id dib0700_usb_id_tabl
        { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC) },
        { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC_B210) },
        { USB_DEVICE(USB_VID_YUAN,      USB_PID_YUAN_MC770) },
+       { USB_DEVICE(USB_VID_ELGATO,    USB_PID_ELGATO_EYETV_DTT) },
        { 0 }           /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1695,7 +1696,7 @@ struct dvb_usb_device_properties dib0700
                        },
                },
 
-               .num_device_descs = 10,
+               .num_device_descs = 11,
                .devices = {
                        {   "DiBcom STK7070P reference design",
                                { &dib0700_usb_id_table[15], NULL },
@@ -1731,6 +1732,10 @@ struct dvb_usb_device_properties dib0700
                        },
                        {   "Terratec Cinergy T USB XXS",
                                { &dib0700_usb_id_table[33], NULL },
+                               { NULL },
+                       },
+                       {   "Elgato EyeTV DTT",
+                               { &dib0700_usb_id_table[49], NULL },
                                { NULL },
                        },
                        {   "Yuan PD378S",
diff -r d8a80818fea5 -r b46b861a4b12 
linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h     Sun Mar 29 13:43:36 
2009 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h     Sun Mar 29 14:12:06 
2009 +0200
@@ -27,6 +27,7 @@
 #define USB_VID_DIBCOM                         0x10b8
 #define USB_VID_DPOSH                          0x1498
 #define USB_VID_DVICO                          0x0fe9
+#define USB_VID_ELGATO                         0x0fd9
 #define USB_VID_EMPIA                          0xeb1a
 #define USB_VID_GENPIX                         0x09c0
 #define USB_VID_GRANDTEC                       0x5032
@@ -49,6 +50,7 @@
 #define USB_VID_TERRATEC                       0x0ccd
 #define USB_VID_TELESTAR                       0x10b9
 #define USB_VID_VISIONPLUS                     0x13d3
+#define USB_VID_SONY                           0x1415
 #define USB_VID_TWINHAN                                0x1822
 #define USB_VID_ULTIMA_ELECTRONIC              0x05d8
 #define USB_VID_UNIWILL                                0x1584
@@ -56,7 +58,6 @@
 #define USB_VID_GIGABYTE                       0x1044
 #define USB_VID_YUAN                           0x1164
 #define USB_VID_XTENSIONS                      0x1ae7
-#define USB_VID_SONY                           0x1415
 
 /* Product IDs */
 #define USB_PID_ADSTECH_USB2_COLD                      0xa333
@@ -245,5 +246,6 @@
 #define USB_PID_TELESTAR_STARSTICK_2                   0x8000
 #define USB_PID_MSI_DIGI_VOX_MINI_III                   0x8807
 #define USB_PID_SONY_PLAYTV                            0x0003
+#define USB_PID_ELGATO_EYETV_DTT                       0x0021
 
 #endif
diff -r d8a80818fea5 -r b46b861a4b12 linux/drivers/media/dvb/dvb-usb/dvb-usb.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb.h Sun Mar 29 13:43:36 2009 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb.h Sun Mar 29 14:12:06 2009 +0200
@@ -224,7 +224,7 @@ struct dvb_usb_device_properties {
        int generic_bulk_ctrl_endpoint;
 
        int num_device_descs;
-       struct dvb_usb_device_description devices[10];
+       struct dvb_usb_device_description devices[11];
 };
 
 /**


---

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

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to