- dev_err(&ndev->pci_dev->dev,
- "%s(): unable to attach HELENE DVB-T/T2 tuner frontend\n",
- __func__);
- goto frontend_detach;
- }
- }
-
- /* DVB-C/C2 frontend */
- fes[2]->dvb.frontend = dvb_attach(cxd2841er_attach_c,
- &demod_config, &ndev->i2c[num].adap);
- if (fes[2]->dvb.frontend == NULL) {
- dev_dbg(&ndev->pci_dev->dev,
- "%s(): unable to attach DVB-C frontend\n", __func__);
- goto frontend_detach;
- }
- fes[2]->dvb.frontend->id = 2;
- if (ndev->rev == NETUP_HW_REV_1_3) {
- if (!dvb_attach(ascot2e_attach, fes[2]->dvb.frontend,
- &ascot2e_conf, &ndev->i2c[num].adap)) {
- dev_dbg(&ndev->pci_dev->dev,
- "%s(): unable to attach DVB-T/C tuner frontend\n",
- __func__);
- goto frontend_detach;
- }
- } else {
- helene_conf.set_tuner_priv = &ndev->dma[num];
- if (!dvb_attach(helene_attach, fes[2]->dvb.frontend,
- &helene_conf, &ndev->i2c[num].adap)) {
- dev_err(&ndev->pci_dev->dev,
- "%s(): unable to attach HELENE Ter tuner frontend\n",
- __func__);
- goto frontend_detach;
- }
- }
-
- if (ndev->rev == NETUP_HW_REV_1_4) {
- /* ISDB-T frontend */
- fes[3]->dvb.frontend = dvb_attach(cxd2841er_attach_i,
- &demod_config, &ndev->i2c[num].adap);
- if (fes[3]->dvb.frontend == NULL) {
- dev_dbg(&ndev->pci_dev->dev,
- "%s(): unable to attach ISDB-T frontend\n",
- __func__);
- goto frontend_detach;
- }
- fes[3]->dvb.frontend->id = 3;
- helene_conf.set_tuner_priv = &ndev->dma[num];
- if (!dvb_attach(helene_attach, fes[3]->dvb.frontend,
- &helene_conf, &ndev->i2c[num].adap)) {