summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/vp7045.c
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-04-26 07:11:07 +0000
committerPatrick Boettcher <devnull@localhost>2005-04-26 07:11:07 +0000
commit21e32bf089c2a7b65e52d612a613187779bbe9bd (patch)
tree98e0129aae9fa0f3765998a35f3f1e4ace5e88c2 /linux/drivers/media/dvb/dvb-usb/vp7045.c
parent4f3e688154f2a9a7193e4cbdd6b98245f627b4eb (diff)
downloadmediapointer-dvb-s2-21e32bf089c2a7b65e52d612a613187779bbe9bd.tar.gz
mediapointer-dvb-s2-21e32bf089c2a7b65e52d612a613187779bbe9bd.tar.bz2
added support for the DigitalNow TinyUSB 2 DVB-t Receiver, which is a clone of
the vp7045/6 made by Twinhan, but with different USB IDs.
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/vp7045.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/vp7045.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp7045.c b/linux/drivers/media/dvb/dvb-usb/vp7045.c
index 20ddac696..b603f1e43 100644
--- a/linux/drivers/media/dvb/dvb-usb/vp7045.c
+++ b/linux/drivers/media/dvb/dvb-usb/vp7045.c
@@ -1,5 +1,6 @@
-/* DVB USB library compliant Linux driver for the TwinhanDTV Alpha/MagicBoxII
- * USB2.0 DVB-T receiver.
+/* DVB USB compliant Linux driver for the
+ * - TwinhanDTV Alpha/MagicBoxII USB2.0 DVB-T receiver
+ * - DigitalNow TinyUSB2 DVB-t receiver
*
* Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de)
*
@@ -192,6 +193,8 @@ static int vp7045_usb_probe(struct usb_interface *intf,
static struct usb_device_id vp7045_usb_table [] = {
{ USB_DEVICE(USB_VID_VISIONPLUS, USB_PID_TWINHAN_VP7045_COLD) },
{ USB_DEVICE(USB_VID_VISIONPLUS, USB_PID_TWINHAN_VP7045_WARM) },
+ { USB_DEVICE(USB_VID_VISIONPLUS, USB_PID_DNTV_TINYUSB2_COLD) },
+ { USB_DEVICE(USB_VID_VISIONPLUS, USB_PID_DNTV_TINYUSB2_WARM) },
{ 0 },
};
MODULE_DEVICE_TABLE(usb, vp7045_usb_table);
@@ -225,12 +228,16 @@ static struct dvb_usb_properties vp7045_properties = {
}
},
- .num_device_descs = 1,
+ .num_device_descs = 2,
.devices = {
{ .name = "Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)",
.cold_ids = { &vp7045_usb_table[0], NULL },
.warm_ids = { &vp7045_usb_table[1], NULL },
},
+ { .name = "DigitalNow TinyUSB 2 DVB-t Receiver",
+ .cold_ids = { &vp7045_usb_table[2], NULL },
+ .warm_ids = { &vp7045_usb_table[3], NULL },
+ },
{ 0 },
}
};
@@ -238,7 +245,7 @@ static struct dvb_usb_properties vp7045_properties = {
/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver vp7045_usb_driver = {
.owner = THIS_MODULE,
- .name = "Twinhan DVB-T USB2.0",
+ .name = "dvb-usb-vp7045",
.probe = vp7045_usb_probe,
.disconnect = dvb_usb_device_exit,
.id_table = vp7045_usb_table,
@@ -266,6 +273,6 @@ module_init(vp7045_usb_module_init);
module_exit(vp7045_usb_module_exit);
MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>");
-MODULE_DESCRIPTION("Twinhan MagicBox/Alpha DVB-T USB2.0");
-MODULE_VERSION("0.1");
+MODULE_DESCRIPTION("Driver for Twinhan MagicBox/Alpha and DNTV tinyUSB2 DVB-T USB2.0");
+MODULE_VERSION("1.0");
MODULE_LICENSE("GPL");