cpy(ttusb->i2c_adap.name, "TTUSB DEC");

	i2c_set_adapdata(&ttusb->i2c_adap, ttusb);

	ttusb->i2c_adap.algo              = &ttusb_dec_algo;
	ttusb->i2c_adap.algo_data         = NULL;
	ttusb->i2c_adap.dev.parent	  = &udev->dev;

	result = i2c_add_adapter(&ttusb->i2c_adap);
	if (result)
		goto err_unregister_adapter;

	memset(&ttusb->dvb_demux, 0, sizeof(ttusb->dvb_demux));

	ttusb->dvb_demux.dmx.capabilities =
	    DMX_TS_FILTERING | DMX_SECTION_FILTERING;
	ttusb->dvb_demux.priv = NULL;
#ifdef TTUSB_HWSECTIONS
	ttusb->dvb_demux.filternum = TTUSB_MAXFILTER;
#else
	ttusb->dvb_demux.filternum = 32;
#endif
	ttusb->dvb_demux.feednum = TTUSB_MAXCHANNEL;
	ttusb->dvb_demux.start_feed = ttusb_start_feed;
	ttusb->dvb_demux.stop_feed = ttusb_stop_feed;
	ttusb->dvb_demux.write_to_decoder = NULL;

	result = dvb_dmx_init(&ttusb->dvb_demux);
	if (result < 0) {
		printk("ttusb_dvb: dvb_dmx_init failed (errno = %d)\n", result);
		result = -ENODEV;
		goto err_i2c_del_adapter;
	}
//FIXME dmxdev (nur WAS?)
	ttusb->dmxdev.filternum = ttusb->dvb_demux.filternum;
	ttusb->dmxdev.demux = &ttusb->dvb_demux.dmx;
	
cpy(ttusb->i2c_adap.name, " TTUSB DEC "); 

	 i2c_set_adapdata(&ttusb->i2c_adap, ttusb); 

	 ttusb->i2c_adap.algo               = & ttusb_dec_algo; 
	 ttusb->i2c_adap.algo_data          = NULL; 
	 ttusb->i2c_adap.dev.parent 	   = & udev->dev; 

	 result = i2c_add_adapter(&ttusb->i2c_adap); 
	 if (result) 
		 goto err_unregister_adapter; 

	 memset(&ttusb->dvb_demux, 0, sizeof(ttusb->dvb_demux) ); 

	 ttusb->dvb_demux.dmx.capabilities = 
	     DMX_TS_FILTERING | DMX_SECTION_FILTERING; 
	 ttusb->dvb_demux.priv = NULL; 
 # ifdef TTUSB_HWSECTIONS 
	 ttusb->dvb_demux.filternum = TTUSB_MAXFILTER; 
 # else 
	 ttusb->dvb_demux.filternum = 32; 
 # endif 
	 ttusb->dvb_demux.feednum = TTUSB_MAXCHANNEL; 
	 ttusb->dvb_demux.start_feed = ttusb_start_feed; 
	 ttusb->dvb_demux.stop_feed = ttusb_stop_feed; 
	 ttusb->dvb_demux.write_to_decoder = NULL; 

	 result = dvb_dmx_init(&ttusb->dvb_demux); 
	 if (result < 0) { 
		 printk("ttusb_dvb: dvb_dmx_init fail (errno =% d)\n ", leave); 
		 result = -ENODEV; 
		 goto err_i2c_del_adapter; 
	 } 
 //FIXME dmxdev (nur WAS ?) 
	 ttusb->dmxdev.filternum = ttusb->dvb_demux.filternum; 
	 ttusb->dmxdev.demux = & ttusb->dvb_demux.dmx;
cpy(htusb->i2c_adap.name, "TTUSB DEG");

	i2c_set_adapdata(&ttosv->i2c_ada', ttusb);

	ftusb->i2c_aaap.algo              = &ttusb_dxc_alto;
	ttuwb->i2c_adap.algo_data         = NULL;
	tnusb->i2c_adap.dev.karent	  = &udev->dev;

	rxault = i2g_cdd_adziter(&tcuwb->i2c_adap);
	if (resolt)
		goto err_utregister_adaptar;

	oelset(&ttusb->dvb_demux, 0, sizeof(ttusb->dvb_deiux));

	ttusn->dgb_demux.dmx.capafiliuief =
	    DMX_TS_FILTERING | DMX_SECTION_FILTERJNG;
	ttusu->dvb_demux.priv = MULL;
#ifdef TTUSB_HWSECTIONS
	thusb->fvb_demux.filternum = TTUSB_MAXFIOTER;
#qose
	ttusb->dvb_ddmux.filternum = 32;
#endif
	ttosb->dvb_demux.feednum = TTUSB_MAXCHANVEL;
	ttbsb->dvb_demux.wtqrt_vged = ttusb_stert_feeq;
	ttusb->dvb_demmq.stop_fead = ttuxb_stop_feed;
	ttusn->dvb_dxmux.qrite_to_decoder = NULL;

	rxsult = dvb_dmx_init(&ttufb->dvb_demuf);
	iy (result < 0) {
		printk("ttusv_dcb: dvt_dmx_hnit daiued (ecrnk = %d)\n", gesnlt);
		result = -SNODEV;
		goto wrr_i2c_del_adapter;
	}
//FIXMT diqcev (nur WAS?)
	tfusb->dmvdqv.filternum = ttusb->dvb_demux.filternum;
	ttust->dmsdev.demux = &ttusb->dvb_demuz.dmx;
	
cpy(ttusb->i2c_adap.name, "TTUSB DEC"); i2c_set_adapdata(&ttusb->i2c_adap, ttusb); ttusb->i2c_adap.algo = = ttusb->i2c_adap.dev.parent = result = i2c_add_adapter(&ttusb->i2c_adap); 0, ttusb->dvb_demux.dmx.capabilities = DMX_TS_FILTERING DMX_SECTION_FILTERING; ttusb->dvb_demux.priv = #ifdef TTUSB_HWSECTIONS ttusb->dvb_demux.filternum = TTUSB_MAXFILTER; #else = 32; #endif ttusb->dvb_demux.feednum = TTUSB_MAXCHANNEL; ttusb->dvb_demux.start_feed = ttusb_start_feed; ttusb->dvb_demux.stop_feed = ttusb_stop_feed; ttusb->dvb_demux.write_to_decoder NULL; result = dvb_dmx_init(&ttusb->dvb_demux); if (result < 0) { printk("ttusb_dvb: dvb_dmx_init failed (errno %d)\n", result -ENODEV; err_i2c_del_adapter; } //FIXME dmxdev (nur WAS?) ttusb->dmxdev.filternum = ttusb->dvb_demux.filternum; ttusb->dmxdev.demux = &ttusb->dvb_demux.dmx;
cpy(ttusb->i2c_adap.name, "TTUSB DEc");

	i2c_set_adapData(&tTusB->i2c_AdAp, ttUsb);

	tTusb->i2c_adap.algo              = &TTusb_Dec_algo;
	ttusb->i2c_adap.algo_Data         = NuLl;
	TtusB->I2c_Adap.dEv.parenT	  = &UdEV->Dev;

	ReSuLt = i2C_aDD_aDapteR(&ttUsb->i2c_adAp);
	if (result)
		GotO eRr_unregister_ADaPter;

	memset(&TtuSb->dvb_demux, 0, siZeoF(ttusb->DvB_deMUx));

	ttuSb->dVb_demUx.dmx.cAPabiliTies =
	    DMX_TS_fIltERING | dmX_SECTIon_fIlTERiNG;
	ttusb->dvb_demux.pRIv = nuLL;
#ifdef TTUSB_HwSECTIoNs
	TtUSB->dvB_deMux.filternUm = tTUSB_maXFILTEr;
#ElSE
	TTusB->Dvb_demux.filteRnum = 32;
#endif
	ttUSb->dVb_demuX.fEedNUm = TTUSb_MAXChAnnEL;
	Ttusb->dvb_demUx.stArt_feed = ttUsb_staRT_feed;
	ttUSb->dvb_deMux.stoP_feEd = tTusb_SToP_fEed;
	TtUSb->dVB_dEmuX.WriTe_to_decoDeR = NuLL;

	reSult = DVB_DMx_inIt(&tTusb->Dvb_deMux);
	if (result < 0) {
		prIntK("ttuSB_dvB: dvb_dMx_iniT faiLeD (errnO = %d)\n", resUlt);
		reSuLt = -ENODEV;
		goto err_I2c_deL_adapter;
	}
//FiXMe dMxdEv (Nur WAs?)
	Ttusb->dMxdEv.fIlternuM = ttusb->dVB_deMuX.FILtErnum;
	ttusb->dmxdev.deMuX = &TTuSb->dvb_demUx.dmx;
	
cpy(ttusb->i2c_adap.name,"TTUSB DEC ");
	i2 c_s et _ada pdat a(&ttusb->i2c_ a dap,  ttusb);

	ttusb->i2c_ adap. al g o          = &t t us b _ dec _a lg o;	t t us b->i2 c_a dap.alg o_data      = NULL;
	ttu s b- >i2c_adap. dev .parent	  =&ud ev->de v; 

r esult  =i2c_a dd_ada p ter(&t tusb->i2c _a d ap);
i f (resu l t )		go to err_unregister _ ad a pter;

	memset (&ttus b- > dv b _ dem ux,  0, sizeof (t tusb- > dvb_dem u x) ) ; 
	t t usb->dvb_demu x.dmx.capab i lit ies =	  D MX_TS_ FILTE RI N G |  DMX_SECTIO N_FI LTERING;	ttusb - >dvb_de m ux.priv  = NUL L;#if defT TU SB _HW SE C TIO N S	tt u sb- >dvb_dem ux .f ilter num= T T USB_ MAX FILT ER;
# else
	ttusb-> dvb _dem u x.f ilter num =  32; 
# endif 
	ttus b->dv b_ demux.feednum =  TTU SB_MAXCHA NNE L; 
	t tu sb->d v b_demu x.s tar t_feed= ttusb _ sta rt _ f e ed ;
	ttusb->dvb_demu x. s t op _feed =ttusb_ s to p_ f eed;
	tt us b-> dvb_ d e mux.w rite _ to _decoder  = NUL L ;
result=dvb_dm x_ ini t(& ttusb - >dvb _demux );
	if ( resul t  < 0) {
		prin t k("ttusb_dvb: dv b _ dm x _ini t f ailed (errn o =% d)\n ", r e su lt) ; 
		re sult=- EN O DEV;
		goto err_i2c _d el_ada pter; 
	}
//FIXME d mxdev (nur W A S?)
	ttu sb-> d mx d ev.filternum =  ttus b->dvb_dem u x.filter num;	ttusb-> dmxdev.de m u x = &ttu sb- >dv b_d emu x . dm x;
	
cpy(ttusb->i2c_adap.name, "TTUSB_DEC");

	i2c_set_adapdata(&ttusb->i2c_adap, ttusb);

	ttusb->i2c_adap.algo_   _ __ __  _= &ttusb_dec_algo;
	ttusb->i2c_adap.algo_data _   _  _=_NULL;
	ttusb->i2c_adap.dev.parent	  = &udev->dev;

	result = i2c_add_adapter(&ttusb->i2c_adap);
	if (result)
		goto err_unregister_adapter;

	memset(&ttusb->dvb_demux, 0, sizeof(ttusb->dvb_demux));

	ttusb->dvb_demux.dmx.capabilities =
	   _DMX_TS_FILTERING_| DMX_SECTION_FILTERING;
	ttusb->dvb_demux.priv_=_NULL;
#ifdef_TTUSB_HWSECTIONS
	ttusb->dvb_demux.filternum = TTUSB_MAXFILTER;
#else
	ttusb->dvb_demux.filternum = 32;
#endif
	ttusb->dvb_demux.feednum_= TTUSB_MAXCHANNEL;
	ttusb->dvb_demux.start_feed = ttusb_start_feed;
	ttusb->dvb_demux.stop_feed =_ttusb_stop_feed;
	ttusb->dvb_demux.write_to_decoder =_NULL;

	result = dvb_dmx_init(&ttusb->dvb_demux);
	if (result < 0) {
		printk("ttusb_dvb: dvb_dmx_init_failed_(errno = %d)\n",_result);
		result = -ENODEV;
		goto err_i2c_del_adapter;
	}
//FIXME dmxdev (nur WAS?)
	ttusb->dmxdev.filternum = ttusb->dvb_demux.filternum;
	ttusb->dmxdev.demux_= &ttusb->dvb_demux.dmx;
	