Commit 6ede20f9 authored by Olli Salonen's avatar Olli Salonen Committed by Mauro Carvalho Chehab

[media] dw2102: add support for TeVii S662

TeVii S662 is a USB 2.0 DVB-S2 tuner that's identical to TechnoTrend
S2-4600 tuner. Add the USB ID to dw2102 driver.
Signed-off-by: default avatarOlli Salonen <olli.salonen@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 60604213
/* DVB USB framework compliant Linux driver for the /* DVB USB framework compliant Linux driver for the
* DVBWorld DVB-S 2101, 2102, DVB-S2 2104, DVB-C 3101, * DVBWorld DVB-S 2101, 2102, DVB-S2 2104, DVB-C 3101,
* TeVii S600, S630, S650, S660, S480, S421, S632 * TeVii S421, S480, S482, S600, S630, S632, S650, S660, S662,
* Prof 1100, 7500, * Prof 1100, 7500,
* Geniatech SU3000, T220, * Geniatech SU3000, T220,
* TechnoTrend S2-4600 Cards * TechnoTrend S2-4600,
* Terratec Cinergy S2 cards
* Copyright (C) 2008-2012 Igor M. Liplianin (liplianin@me.by) * Copyright (C) 2008-2012 Igor M. Liplianin (liplianin@me.by)
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
...@@ -65,6 +66,10 @@ ...@@ -65,6 +66,10 @@
#define USB_PID_TEVII_S660 0xd660 #define USB_PID_TEVII_S660 0xd660
#endif #endif
#ifndef USB_PID_TEVII_S662
#define USB_PID_TEVII_S662 0xd662
#endif
#ifndef USB_PID_TEVII_S480_1 #ifndef USB_PID_TEVII_S480_1
#define USB_PID_TEVII_S480_1 0xd481 #define USB_PID_TEVII_S480_1 0xd481
#endif #endif
...@@ -1696,6 +1701,7 @@ enum dw2102_table_entry { ...@@ -1696,6 +1701,7 @@ enum dw2102_table_entry {
TEVII_S482_1, TEVII_S482_1,
TEVII_S482_2, TEVII_S482_2,
TERRATEC_CINERGY_S2_BOX, TERRATEC_CINERGY_S2_BOX,
TEVII_S662
}; };
static struct usb_device_id dw2102_table[] = { static struct usb_device_id dw2102_table[] = {
...@@ -1724,6 +1730,7 @@ static struct usb_device_id dw2102_table[] = { ...@@ -1724,6 +1730,7 @@ static struct usb_device_id dw2102_table[] = {
[TEVII_S482_1] = {USB_DEVICE(0x9022, 0xd483)}, [TEVII_S482_1] = {USB_DEVICE(0x9022, 0xd483)},
[TEVII_S482_2] = {USB_DEVICE(0x9022, 0xd484)}, [TEVII_S482_2] = {USB_DEVICE(0x9022, 0xd484)},
[TERRATEC_CINERGY_S2_BOX] = {USB_DEVICE(USB_VID_TERRATEC, 0x0105)}, [TERRATEC_CINERGY_S2_BOX] = {USB_DEVICE(USB_VID_TERRATEC, 0x0105)},
[TEVII_S662] = {USB_DEVICE(0x9022, USB_PID_TEVII_S662)},
{ } { }
}; };
...@@ -2241,7 +2248,7 @@ static struct dvb_usb_device_properties tt_s2_4600_properties = { ...@@ -2241,7 +2248,7 @@ static struct dvb_usb_device_properties tt_s2_4600_properties = {
} }, } },
} }
}, },
.num_device_descs = 4, .num_device_descs = 5,
.devices = { .devices = {
{ "TechnoTrend TT-connect S2-4600", { "TechnoTrend TT-connect S2-4600",
{ &dw2102_table[TECHNOTREND_S2_4600], NULL }, { &dw2102_table[TECHNOTREND_S2_4600], NULL },
...@@ -2259,6 +2266,10 @@ static struct dvb_usb_device_properties tt_s2_4600_properties = { ...@@ -2259,6 +2266,10 @@ static struct dvb_usb_device_properties tt_s2_4600_properties = {
{ &dw2102_table[TERRATEC_CINERGY_S2_BOX], NULL }, { &dw2102_table[TERRATEC_CINERGY_S2_BOX], NULL },
{ NULL }, { NULL },
}, },
{ "TeVii S662",
{ &dw2102_table[TEVII_S662], NULL },
{ NULL },
},
} }
}; };
...@@ -2379,10 +2390,10 @@ module_usb_driver(dw2102_driver); ...@@ -2379,10 +2390,10 @@ module_usb_driver(dw2102_driver);
MODULE_AUTHOR("Igor M. Liplianin (c) liplianin@me.by"); MODULE_AUTHOR("Igor M. Liplianin (c) liplianin@me.by");
MODULE_DESCRIPTION("Driver for DVBWorld DVB-S 2101, 2102, DVB-S2 2104," MODULE_DESCRIPTION("Driver for DVBWorld DVB-S 2101, 2102, DVB-S2 2104,"
" DVB-C 3101 USB2.0," " DVB-C 3101 USB2.0,"
" TeVii S600, S630, S650, S660, S480, S421, S632" " TeVii S421, S480, S482, S600, S630, S632, S650,"
" Prof 1100, 7500 USB2.0," " TeVii S660, S662, Prof 1100, 7500 USB2.0,"
" Geniatech SU3000, T220," " Geniatech SU3000, T220,"
" TechnoTrend S2-4600 devices"); " TechnoTrend S2-4600, Terratec Cinergy S2 devices");
MODULE_VERSION("0.1"); MODULE_VERSION("0.1");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_FIRMWARE(DW2101_FIRMWARE); MODULE_FIRMWARE(DW2101_FIRMWARE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment