int cpc_close(struct net_device *dev) 
static int cpc_close(struct net_device *dev) 
int cpc_close(struct net_device *dev){	hdlc_device *hdlc = dev_to_hdlc(dev);	pc300dev_t *d = (pc300dev_t *) dev->priv;	pc300ch_t *chan = (pc300ch_t *) d->chan;	pc300_t *card = (pc300_t *) chan->card;	unsigned long flags;#ifdef	PC300_DEBUG_OTHER	printk("pc300: cpc_close");#endif	netif_stop_queue(dev);	CPC_LOCK(card, flags);	cpc_closech(d);	CPC_UNLOCK(card, flags);	hdlc_close(dev);	if (hdlc->proto.id == IF_PROTO_PPP) {		d->if_ptr = NULL;	}#ifdef CONFIG_PC300_MLPPP	if (chan->conf.proto == PC300_PROTO_MLPPP) {		cpc_tty_unregister_service(d);		chan->conf.proto = 0xffff;	}#endif	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7665a08928f241247afe8c76865cdbe4ef5489bf/pc300_drv.c/buggy/drivers/net/wan/pc300_drv.c