[media] [1/1,dvb-usb] GOTVIEW SatelliteHD card support
authorAndrey Pavlenko <andrey.a.pavlenko@gmail.com>
Thu, 7 Mar 2013 12:36:22 +0000 (09:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Mar 2013 19:00:40 +0000 (16:00 -0300)
Added support for the GOTVIEW SatelliteHD card which is based on
Montage M88DS3000 and works very well with this driver.

Signed-off-by: Andrey Pavlenko <andrey.a.pavlenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb/dw2102.c

index 24cfd4bbbc8a7af4c0283ab2de1e2171dd014668..d5957b0299d322bc42853a24971db4a30a497385 100644 (file)
 #define USB_PID_TEVII_S632 0xd632
 #endif
 
+#ifndef USB_PID_GOTVIEW_SAT_HD
+#define USB_PID_GOTVIEW_SAT_HD 0x5456
+#endif
+
 #define DW210X_READ_MSG 0
 #define DW210X_WRITE_MSG 1
 
@@ -1549,6 +1553,7 @@ enum dw2102_table_entry {
        TEVII_S421,
        TEVII_S632,
        TERRATEC_CINERGY_S2_R2,
+       GOTVIEW_SAT_HD,
 };
 
 static struct usb_device_id dw2102_table[] = {
@@ -1570,6 +1575,7 @@ static struct usb_device_id dw2102_table[] = {
        [TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)},
        [TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)},
        [TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, 0x00b0)},
+       [GOTVIEW_SAT_HD] = {USB_DEVICE(0x1FE1, USB_PID_GOTVIEW_SAT_HD)},
        { }
 };
 
@@ -1970,7 +1976,7 @@ static struct dvb_usb_device_properties su3000_properties = {
                }},
                }
        },
-       .num_device_descs = 4,
+       .num_device_descs = 5,
        .devices = {
                { "SU3000HD DVB-S USB2.0",
                        { &dw2102_table[GENIATECH_SU3000], NULL },
@@ -1988,6 +1994,10 @@ static struct dvb_usb_device_properties su3000_properties = {
                        { &dw2102_table[TERRATEC_CINERGY_S2_R2], NULL },
                        { NULL },
                },
+               { "GOTVIEW Satellite HD",
+                       { &dw2102_table[GOTVIEW_SAT_HD], NULL },
+                       { NULL },
+               },
        }
 };