|
diff --git a/linux/drivers/media/usb/dvb-usb/dw2102.c b/linux/drivers/media/usb/dvb-usb/dw2102.c
--- a/linux/drivers/media/usb/dvb-usb/dw2102.c
+++ b/linux/drivers/media/usb/dvb-usb/dw2102.c
@@ -84,6 +84,14 @@
#define USB_PID_GOTVIEW_SAT_HD 0x5456
#endif
+#ifndef USB_PID_TEVII_S482_1
+#define USB_PID_TEVII_S482_1 0xd483
+#endif
+
+#ifndef USB_PID_TEVII_S482_2
+#define USB_PID_TEVII_S482_2 0xd484
+#endif
+
#define DW210X_READ_MSG 0
#define DW210X_WRITE_MSG 1
@@ -849,9 +857,10 @@
else
mac[i] = ibuf[0];
- debug_dump(mac, 6, printk);
}
+ debug_dump(mac, 6, printk);
+
return 0;
}
@@ -1616,6 +1625,8 @@
TT_S2_4600,
GOTVIEW_SAT_HD,
VP2000,
+ TEVII_S482_1,
+ TEVII_S482_2,
};
static struct usb_device_id dw2102_table[] = {
@@ -1640,6 +1651,8 @@
[TT_S2_4600] = {USB_DEVICE(0x0b48, 0x3011)},
[GOTVIEW_SAT_HD] = {USB_DEVICE(0x1FE1, USB_PID_GOTVIEW_SAT_HD)},
[VP2000] = {USB_DEVICE(0x9022, 0x2000)},
+ [TEVII_S482_1] = {USB_DEVICE(0x9022, USB_PID_TEVII_S482_1)},
+ [TEVII_S482_2] = {USB_DEVICE(0x9022, USB_PID_TEVII_S482_2)},
{ },
};
@@ -2078,6 +2091,18 @@
{NULL},
};
+static struct dvb_usb_device_description d482_1 = {
+ "TeVii S482.1 USB",
+ {&dw2102_table[TEVII_S482_1], NULL},
+ {NULL},
+};
+
+static struct dvb_usb_device_description d482_2 = {
+ "TeVii S482.2 USB",
+ {&dw2102_table[TEVII_S482_2], NULL},
+ {NULL},
+};
+
static int dw2102_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{
@@ -2143,8 +2168,10 @@
kfree(p7500);
return -ENOMEM;
}
- s472->num_device_descs = 1;
+ s472->num_device_descs = 3;
s472->devices[0] = d472;
+ s472->devices[1] = d482_1;
+ s472->devices[2] = d482_2;
s472->rc.legacy.rc_map_table = rc_map_tt_4600_table;
s472->rc.legacy.rc_map_size = ARRAY_SIZE(rc_map_tt_4600_table);
s472->rc.legacy.rc_interval = 250;
|
|