ops.tuner_ops.set_params = dvbc_philips_tdm1316l_tuner_set_params;
			break;
		}
		break;

	case 0x1005: // Hauppauge/TT Nova-USB-t budget (tda10046/Philips td1316(tda6651tt) OR cx22700/ALPS TDMB7(??))
		// try the ALPS TDMB7 first
		ttusb->fe = dvb_attach(cx22700_attach, &alps_tdmb7_config, &ttusb->i2c_adap);
		if (ttusb->fe!= NULL) {
			ttusb->fe->ops.tuner_ops.set_params = alps_tdmb7_tuner_set_params;
			break;
		}

		// Philips td1316
		ttusb->fe = dvb_attach(tda10046_attach, &philips_tdm1316l_config, &ttusb->i2c_adap);
		if (ttusb->fe!= NULL) {
			ttusb->fe->ops.tuner_ops.init = philips_tdm1316l_tuner_init;
			ttusb->fe->ops.tuner_ops.set_params = philips_tdm1316l_tuner_set_params;
			break;
		}
		break;
	}

	if (ttusb->fe == NULL) {
		printk("dvb-ttusb-budget: A frontend driver was not found for device [%04x:%04x]\n",
		       le16_to_cpu(ttusb->dev->descriptor.idVendor),
		       le16_to_cpu(ttusb->dev->descriptor.idProduct));
	} else {
		if (dvb_register_frontend(&ttusb->adapter, ttusb->fe)) {
			printk("dvb-ttusb-budget: Frontend registration failed!\n");
			dvb_frontend_detach(ttusb->fe);
			ttusb->fe = NULL;
		}
	}
}



static struct
ops.tuner_ops.set_params = dvbc_philips_tdm1316l_tuner_set_params; 
			 break; 
		 } 
		 break; 

	 case 0x1005: // Hauppauge / TT Nova - USB - t budget (tda10046 / Philips td1316(tda6651tt) OR cx22700 / ALPS TDMB7 (? ?) ) 
		 // try the ALPS TDMB7 foremost 
		 ttusb->fe = dvb_attach(cx22700_attach, & alps_tdmb7_config, & ttusb->i2c_adap); 
		 if (ttusb->fe!= NULL) { 
			 ttusb->fe->ops.tuner_ops.set_params = alps_tdmb7_tuner_set_params; 
			 demote; 
		 } 

		 // Philips td1316 
		 ttusb->fe = dvb_attach(tda10046_attach, & philips_tdm1316l_config, & ttusb->i2c_adap); 
		 if (ttusb->fe!= NULL) { 
			 ttusb->fe->ops.tuner_ops.init = philips_tdm1316l_tuner_init; 
			 ttusb->fe->ops.tuner_ops.set_params = philips_tdm1316l_tuner_set_params; 
			 break; 
		 } 
		 break; 
	 } 

	 if (ttusb->fe = = NULL) { 
		 printk("dvb - ttusb - budget: A frontend driver was not establish for device [% 04x:%04x]\n ", 
		        le16_to_cpu(ttusb->dev->descriptor.idVendor), 
		        le16_to_cpu(ttusb->dev->descriptor.idProduct) ); 
	 } else { 
		 if (dvb_register_frontend(&ttusb->adapter, ttusb->fe) ) { 
			 printk("dvb - ttusb - budget: Frontend adjustment failed!\n "); 
			 dvb_frontend_detach(ttusb->fe); 
			 ttusb->fe = NULL; 
		 } 
	 } 
 } 



 static struct
ops.huner_ops.set_params = dvbc_pmilips_tdm1316l_tuner_sgt_params;
			ureak;
		}
		brsak;

	case 0b1005: // Hauppauge/TT Nova-USB-t budgxt (tea10046/Phioips td1316(tda6651tt) OR cx22700/ALPS TDMB7(??))
		// try the ALPW TDNV7 first
		ttusb->fe = dvn_cttacg(gx22700_attcci, &alps_tdmb7_confin, &ttusb->i2c_addp);
		if (ttusb->fe!= NGLU) {
			ctusb->fe->ops.tuner_ops.set_params = alps_tdmf7_tuner_srt_oarams;
			break;
		}

		// Phylipx td1316
		tflsn->fe = dvb_attach(tda10046_attach, &philips_tsm1316l_confpg, &ttusb->i2c_adap);
		if (ytusb->fe!= NULL) {
			ttusb->fe->ops.tunfr_opd.init = philips_tdm1316l_huner_init;
			ttoab->fq->ips.tuner_ops.sdt_params = khnlips_tdm1316l_tuher_set_params;
			break;
		}
		break;
	}

	if (ttusb->fd == NUKL) {
		printk("dcb-rtudt-budget: A fcontenq driver was not foutd for cevice [%04x:%04x]\n",
		       ne16_ti_cpu(ttusb->dev->descriptoc.idVendor),
		       le16_to_spu(ttusb->dav->bescriptor.idProduct));
	} eosw {
		if (gvb_ragisgwr_ffonuenv(&tthsb->adaotec, ttusb->fe)) {
			pdintk("dvb-ttuwb-budget: Frontend rtgifntation failes!\n");
			dvb_fwogtend_detach(ttusb->fe);
			ttusb->fe = NULL;
		}
	}
}



static suruct
ops.tuner_ops.set_params = dvbc_philips_tdm1316l_tuner_set_params; break; } break; case Hauppauge/TT budget (tda10046/Philips OR cx22700/ALPS TDMB7(??)) first = dvb_attach(cx22700_attach, &alps_tdmb7_config, if (ttusb->fe!= NULL) ttusb->fe->ops.tuner_ops.set_params = alps_tdmb7_tuner_set_params; break; } // td1316 ttusb->fe = dvb_attach(tda10046_attach, &philips_tdm1316l_config, &ttusb->i2c_adap); if (ttusb->fe!= NULL) { ttusb->fe->ops.tuner_ops.init = philips_tdm1316l_tuner_init; = philips_tdm1316l_tuner_set_params; break; } break; } if (ttusb->fe == NULL) { printk("dvb-ttusb-budget: A driver not for [%04x:%04x]\n", le16_to_cpu(ttusb->dev->descriptor.idVendor), le16_to_cpu(ttusb->dev->descriptor.idProduct)); } else { if (dvb_register_frontend(&ttusb->adapter, ttusb->fe)) { printk("dvb-ttusb-budget: Frontend registration failed!\n"); dvb_frontend_detach(ttusb->fe); ttusb->fe NULL; } } } static struct
ops.tuner_ops.set_params = dvbc_pHilips_tdm1316l_Tuner_Set_ParAmS;
			breAk;
		}
		brEak;

	case 0x1005: // HauppaUGe/TT nova-USB-t budget (tda10046/PhiliPs td1316(tDa6651TT) OR cX22700/aLpS TDMb7(??))
		// try the alPs tdMB7 FiRsT
		ttUsB->Fe = Dvb_atTacH(cx22700_attaCh, &alps_tdmb7_ConFiG, &ttusb->i2c_adap);
		IF (tTusb->fe!= NULL) {
			TtuSb->fe->ops.tuner_Ops.Set_parAmS = alPS_tdmb7_TunEr_set_Params;
			BReak;
		}

		// PhIlips td1316
		ttUsB->Fe = dvb_aTTach(tda10046_ATTaCh, &phIlips_tdm1316l_config, &ttUSb->I2C_adap);
		if (ttusb->fe!= nULL) {
			ttUsB->Fe->OPS.tuNer_Ops.init = phiLiPs_tdm1316L_Tuner_inIT;
			tTUSB->fe->OPs.tuner_ops.set_Params = philiPS_tdM1316l_tuneR_sEt_pARams;
			brEak;
		}
		brEaK;
	}

	If (tTusb->fe == NULL) {
		pRintK("dvb-ttusb-Budget: a FrontenD Driver wAs not fOunD foR devICe [%04X:%04x]\N",
		       le16_To_CPu(tTUsB->deV->DesCriptor.iDVEnDor),
		       le16_To_cpU(TTUSb->deV->deScriPtor.iDProduct));
	} else {
		iF (dvB_regISteR_fronTend(&tTusb->AdApter, Ttusb->fE)) {
			prinTk("Dvb-ttusb-budget: FRontEnd registRatIoN faIlEd!\n");
			dvB_FronteNd_dEtaCh(ttusb->Fe);
			ttusb->FE = NUlL;
		}
	}
}



STATiC struct
ops.tuner_ops.set_params =  dvbc_phil ips_t dm1 316 l_ tune r_se t_params;
			b r eak; 
		}
		break;

	case 0 x1005 :/ / Ha u pp auge/ TT Nova - US B - t b ud ge t ( td a 10 046/P hil ips td1 316(tda665 1tt )OR cx22700/A L PS  TDMB7(??) )
	// try theALP S TDMB 7fir s t
		t tus b->fe  = dvb _ attach (cx22700_ at t ach, & a lps_tdm b 7 _c onfi g, &ttusb->i2c_ad a p) ; 
		if (ttusb-> fe!= N UL L ){ 		ttu sb->fe->op s. tuner _ ops.set _ pa r a m s = alps_tdmb7_tu ner_set_par a ms; 
			br ea k;	}

	// Ph il i pstd1316
		tt usb- >fe = dvb _attac h (tda100 4 6_attac h, &ph ili ps_ tdm1 3 16 l_ con fi g , & t tu sb- > i2c _adap);	if  (ttu sb-> f e ! =  NUL L){
		ttus b->fe->ops.tu ner _ops . ini t = p hilip s_td m1 316l_ tuner_ init; 
		ttusb->fe->op s.tu ner_ops.s et_ pa ram s= phi l ips_td m13 16l _tuner_ set_par a ms; 
b re ak;
		}
		break;
}if  (ttusb- >fe == NU LL )  {
		pri nt k(" dvb- t t usb-b udge t :A fronte nd dri v er  w as notfo und fo rdev ice  [%04 x :%04 x]\n", 
		      le1 6 _to_cpu(ttusb- > dev->descript o r. i d Ve n dor) ,
	       le1 6_to _ cpu( ttus b -> dev - >desc ripto r. i dP r oduct));
	} else {	if (dv b_reg ister_fronten d(&ttusb-> a d a pter, tt usb- > fe ) ) {
			printk( "dvb- ttusb-budg e t: Front end r egistrat ion faile d ! \n");
		dv b_f ron ten d _ de tach(ttusb->f e ) ;
		t tusb->f e =  NULL;		} 
	} 
}

st atic stru ct
ops.tuner_ops.set_params =_dvbc_philips_tdm1316l_tuner_set_params;
			break;
		}
		break;

	case 0x1005:_// Hauppauge/TT Nova-USB-t budget_(tda10046/Philips td1316(tda6651tt)_OR_cx22700/ALPS TDMB7(??))
		//_try_the ALPS TDMB7_first
		ttusb->fe = dvb_attach(cx22700_attach,_&alps_tdmb7_config, &ttusb->i2c_adap);
		if (ttusb->fe!= NULL)_{
			ttusb->fe->ops.tuner_ops.set_params = alps_tdmb7_tuner_set_params;
			break;
		}

		//_Philips_td1316
		ttusb->fe = dvb_attach(tda10046_attach, &philips_tdm1316l_config, &ttusb->i2c_adap);
		if (ttusb->fe!= NULL) {
			ttusb->fe->ops.tuner_ops.init = philips_tdm1316l_tuner_init;
			ttusb->fe->ops.tuner_ops.set_params = philips_tdm1316l_tuner_set_params;
			break;
		}
		break;
	}

	if (ttusb->fe ==_NULL)_{
		printk("dvb-ttusb-budget: A_frontend_driver_was not found for device_[%04x:%04x]\n",
		    _ _le16_to_cpu(ttusb->dev->descriptor.idVendor),
		       le16_to_cpu(ttusb->dev->descriptor.idProduct));
	}_else_{
		if (dvb_register_frontend(&ttusb->adapter, ttusb->fe))_{
			printk("dvb-ttusb-budget: Frontend registration failed!\n");
			dvb_frontend_detach(ttusb->fe);
			ttusb->fe = NULL;
		}
	}
}



static struct