summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2004-11-24 20:10:05 +0000
committerOliver Endriss <devnull@localhost>2004-11-24 20:10:05 +0000
commite8d04512cbeba0c1e94da2f1fc4fef3aead6d6c6 (patch)
treed322a68972f443fd123d24bcb40d9c376ac5720b /linux/drivers/media/dvb
parenta359b1eb37c69d215d34125a15076f646e76c6d7 (diff)
downloadmediapointer-dvb-s2-e8d04512cbeba0c1e94da2f1fc4fef3aead6d6c6.tar.gz
mediapointer-dvb-s2-e8d04512cbeba0c1e94da2f1fc4fef3aead6d6c6.tar.bz2
added support for full-featured DVB-C cards:
- 13c2:0000 Siemens DVB-C (full-length card) VES1820/Philips CD1516 - 13c2:0003 Haupauge DVB-C 2.1 VES1820/ALPS TDBE2 Note that these subsystem ids are also used by DVB-S cards!
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index dd6b89c20..81dff6f7e 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -1862,6 +1862,20 @@ static void frontend_init(struct av7110 *av7110)
av7110->fe->ops->set_tone = av7110_set_tone;
break;
}
+
+ /* Try DVB-C cards */
+ switch(av7110->dev->pci->subsystem_device) {
+ case 0x0000:
+ /* Siemens DVB-C (full-length card) VES1820/Philips CD1516 */
+ av7110->fe = ves1820_attach(&philips_cd1516_config, &av7110->i2c_adap,
+ read_pwm(av7110));
+ break;
+ case 0x0003:
+ /* Haupauge DVB-C 2.1 VES1820/ALPS TDBE2 */
+ av7110->fe = ves1820_attach(&alps_tdbe2_config, &av7110->i2c_adap,
+ read_pwm(av7110));
+ break;
+ }
break;
case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X