fc->dev_type          = FC_AIR_ATSC; 
fc->dev_type          = FC_AIR_ATSC2; 
int flexcop_frontend_init(struct flexcop_device *fc){	/* try the sky v2.6 (stv0299/Samsung tbmu24112(sl1935)) */	if ((fc->fe = stv0299_attach(&samsung_tbmu24112_config, &fc->i2c_adap)) != NULL) {		fc->fe->ops->set_voltage = flexcop_set_voltage;		fc->fe_sleep             = fc->fe->ops->sleep;		fc->fe->ops->sleep       = flexcop_sleep;		fc->dev_type          = FC_SKY;		info("found the stv0299 at i2c address: 0x%02x",samsung_tbmu24112_config.demod_address);	} else	/* try the air dvb-t (mt352/Samsung tdtc9251dh0(??)) */	if ((fc->fe = mt352_attach(&samsung_tdtc9251dh0_config, &fc->i2c_adap)) != NULL ) {		fc->dev_type          = FC_AIR_DVB;		info("found the mt352 at i2c address: 0x%02x",samsung_tdtc9251dh0_config.demod_address);	} else	/* try the air atsc (nxt2002) */	if ((fc->fe = nxt2002_attach(&samsung_tbmv_config, &fc->i2c_adap)) != NULL) {		fc->dev_type          = FC_AIR_ATSC;		info("found the nxt2002 at i2c address: 0x%02x",samsung_tbmv_config.demod_address);	} else	/* try the cable dvb (stv0297) */	if ((fc->fe = stv0297_attach(&alps_tdee4_stv0297_config, &fc->i2c_adap, 0xf8)) != NULL) {		fc->dev_type                        = FC_CABLE;		info("found the stv0297 at i2c address: 0x%02x",alps_tdee4_stv0297_config.demod_address);	} else	/* try the sky v2.3 (vp310/Samsung tbdu18132(tsa5059)) */	if ((fc->fe = vp310_attach(&skystar23_samsung_tbdu18132_config, &fc->i2c_adap)) != NULL) {		fc->fe->ops->diseqc_send_master_cmd = flexcop_diseqc_send_master_cmd;		fc->fe->ops->diseqc_send_burst      = flexcop_diseqc_send_burst;		fc->fe->ops->set_tone               = flexcop_set_tone;		fc->fe->ops->set_voltage            = flexcop_set_voltage;		fc->fe_sleep                        = fc->fe->ops->sleep;		fc->fe->ops->sleep                  = flexcop_sleep;		fc->dev_type                        = FC_SKY_OLD;		info("found the vp310 (aka mt312) at i2c address: 0x%02x",skystar23_samsung_tbdu18132_config.demod_address);	}	if (fc->fe == NULL) {		err("no frontend driver found for this B2C2/FlexCop adapter");		return -ENODEV;	} else {		if (dvb_register_frontend(&fc->dvb_adapter, fc->fe)) {			err("frontend registration failed!");			if (fc->fe->ops->release != NULL)				fc->fe->ops->release(fc->fe);			fc->fe = NULL;			return -EINVAL;		}	}	fc->init_state |= FC_STATE_FE_INIT;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/55f51efdb696ff6e9d2056377d05268a97f3d4e4/flexcop-fe-tuner.c/clean/drivers/media/dvb/b2c2/flexcop-fe-tuner.c