V4L/DVB (6589): Gigabyte u7000 usb dvb-t support
authordominik <dominik95@free.fr>
Sat, 10 Nov 2007 22:23:31 +0000 (19:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:09 +0000 (19:02 -0200)
Signed-off-by: dominik <dominik95@free.fr>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/dib0700_devices.c
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index 5af779e332b4efc89d8009190c70e63bb045ea91..1aa335d5aa97d8c7aeee2f18e00b5d52d8d1c626 100644 (file)
@@ -850,6 +850,7 @@ struct usb_device_id dib0700_usb_id_table[] = {
                { USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T) },
                { USB_DEVICE(USB_VID_COMPRO,    USB_PID_COMPRO_VIDEOMATE_U500_PC) },
 /* 20 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_EXPRESS) },
+/* 21 */{ USB_DEVICE(USB_VID_GIGABYTE, USB_PID_GIGABYTE_U7000) },
                { 0 }           /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -891,7 +892,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        },
                },
 
-               .num_device_descs = 7,
+               .num_device_descs = 8,
                .devices = {
                        {   "DiBcom STK7700P reference design",
                                { &dib0700_usb_id_table[0], &dib0700_usb_id_table[1] },
@@ -920,6 +921,11 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        {   "AVerMedia AVerTV DVB-T Express",
                                { &dib0700_usb_id_table[20] },
                                { NULL },
+                       },
+                       /* dom : pour Gigabyte U7000 */
+                       {   "Gigabyte U7000",
+                               { &dib0700_usb_id_table[21], NULL },
+                               { NULL },
                        }
                },
 
@@ -990,7 +996,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        {   "DiBcom STK7700D reference design",
                                { &dib0700_usb_id_table[14], NULL },
                                { NULL },
-                       },
+                       }
                },
 
                .rc_interval      = DEFAULT_RC_INTERVAL,
@@ -1053,7 +1059,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        {   "Pinnacle PCTV Dual DVB-T Diversity Stick",
                                { &dib0700_usb_id_table[18], NULL },
                                { NULL },
-                       },
+                       }
                }
        },
 };
index 4fa3e895028a0596c7a792cb5e451aadceddc634..d6d96308cbaa10cb9d64acaf6d09d0ae6a165a03 100644 (file)
@@ -44,6 +44,9 @@
 #define USB_VID_ULTIMA_ELECTRONIC              0x05d8
 #define USB_VID_UNIWILL                                0x1584
 #define USB_VID_WIDEVIEW                       0x14aa
+/* dom : pour gigabyte u7000 */
+#define USB_VID_GIGABYTE                       0x1044
+
 
 /* Product IDs */
 #define USB_PID_ADSTECH_USB2_COLD                      0xa333
@@ -69,6 +72,7 @@
 #define USB_PID_DIBCOM_STK7700P                                0x1e14
 #define USB_PID_DIBCOM_STK7700P_PC                     0x1e78
 #define USB_PID_DIBCOM_STK7700D                                0x1ef0
+#define USB_PID_DIBCOM_STK7700_U7000                   0x7001
 #define USB_PID_DIBCOM_STK7070P                                0x1ebc
 #define USB_PID_DIBCOM_STK7070PD                       0x1ebe
 #define USB_PID_DIBCOM_ANCHOR_2135_COLD                        0x2131
 #define USB_PID_OPERA1_WARM                            0x3829
 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD           0x0514
 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM           0x0513
-
+/* dom pour gigabyte u7000 */
+#define USB_PID_GIGABYTE_U7000                         0x7001
 
 #endif