From e8d04512cbeba0c1e94da2f1fc4fef3aead6d6c6 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Wed, 24 Nov 2004 20:10:05 +0000 Subject: 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! --- linux/drivers/media/dvb/ttpci/av7110.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'linux/drivers/media') 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 -- cgit v1.2.3