break; 
dprintk ("dvb_bt8xx: an nxt6000 was detected on your digitv card\n");  /* New Nebula (marked (c)2005 on low profile pci card) has mt352 demod */ digitv_alps_tded4_reset(card); card->fe = mt352_attach(&digitv_alps_tded4_config, card->i2c_adapter);  if (card->fe != NULL) dprintk ("dvb_bt8xx: an mt352 was detected on your digitv card\n"); 
static void frontend_init(struct dvb_bt8xx_card *card, u32 type){	int ret;	struct dst_state* state = NULL;	switch(type) {#ifdef BTTV_DVICO_DVBT_LITE		case BTTV_DVICO_DVBT_LITE:		card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter);		if (card->fe != NULL) {			card->fe->ops->info.frequency_min = 174000000;			card->fe->ops->info.frequency_max = 862000000;			break;		}		break;#endif#ifdef BTTV_TWINHAN_VP3021		case BTTV_TWINHAN_VP3021:#else		case BTTV_NEBULA_DIGITV:#endif		card->fe = nxt6000_attach(&vp3021_alps_tded4_config, card->i2c_adapter);		if (card->fe != NULL)			break;		break;		case BTTV_AVDVBT_761:		card->fe = sp887x_attach(&microtune_mt7202dtf_config, card->i2c_adapter);		if (card->fe != NULL)			break;		break;		case BTTV_AVDVBT_771:		card->fe = mt352_attach(&advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter);		if (card->fe != NULL) {			card->fe->ops->info.frequency_min = 174000000;			card->fe->ops->info.frequency_max = 862000000;			break;		}		break;		case BTTV_TWINHAN_DST:		/*	DST is not a frontend driver !!!		*/		state = (struct dst_state *) kmalloc(sizeof (struct dst_state), GFP_KERNEL);		/*	Setup the Card					*/		state->config = &dst_config;		state->i2c = card->i2c_adapter;		state->bt = card->bt;		/*	DST is not a frontend, attaching the ASIC	*/		if ((dst_attach(state, &card->dvb_adapter)) == NULL) {			printk("%s: Could not find a Twinhan DST.\n", __FUNCTION__);			break;		}		card->fe = &state->frontend;		/*	Attach other DST peripherals if any		*/		/*	Conditional Access device			*/		if (state->dst_hw_cap & DST_TYPE_HAS_CA)			ret = dst_ca_attach(state, &card->dvb_adapter);		if (card->fe != NULL)			break;		break;		case BTTV_PINNACLESAT:		card->fe = cx24110_attach(&pctvsat_config, card->i2c_adapter);		if (card->fe != NULL)			break;		break;		case BTTV_PC_HDTV:		card->fe = or51211_attach(&or51211_config, card->i2c_adapter);		if (card->fe != NULL)			break;		break;	}	if (card->fe == NULL)		printk("dvb-bt8xx: A frontend driver was not found for device %04x/%04x subsystem %04x/%04x\n",		       card->bt->dev->vendor,		       card->bt->dev->device,		       card->bt->dev->subsystem_vendor,		       card->bt->dev->subsystem_device);	else		if (dvb_register_frontend(&card->dvb_adapter, card->fe)) {			printk("dvb-bt8xx: Frontend registration failed!\n");			if (card->fe->ops->release)				card->fe->ops->release(card->fe);			card->fe = NULL;		}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/05ade5a5cd32f8393c22fc454b0546df2ed497c5/dvb-bt8xx.c/buggy/drivers/media/dvb/bt8xx/dvb-bt8xx.c