void falc_update_stats(pc300_t * card, int ch) 
static void falc_update_stats(pc300_t * card, int ch) 
void falc_update_stats(pc300_t * card, int ch){	pc300ch_t *chan = (pc300ch_t *) & card->chan[ch];	pc300chconf_t *conf = (pc300chconf_t *) & chan->conf;	falc_t *pfalc = (falc_t *) & chan->falc;	void __iomem *falcbase = card->hw.falcbase;	ucshort counter;	counter = cpc_readb(falcbase + F_REG(FECL, ch));	counter |= cpc_readb(falcbase + F_REG(FECH, ch)) << 8;	pfalc->fec += counter;	counter = cpc_readb(falcbase + F_REG(CVCL, ch));	counter |= cpc_readb(falcbase + F_REG(CVCH, ch)) << 8;	pfalc->cvc += counter;	counter = cpc_readb(falcbase + F_REG(CECL, ch));	counter |= cpc_readb(falcbase + F_REG(CECH, ch)) << 8;	pfalc->cec += counter;	counter = cpc_readb(falcbase + F_REG(EBCL, ch));	counter |= cpc_readb(falcbase + F_REG(EBCH, ch)) << 8;	pfalc->ebc += counter;	if (cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_EPRM) {		mdelay(10);		counter = cpc_readb(falcbase + F_REG(BECL, ch));		counter |= cpc_readb(falcbase + F_REG(BECH, ch)) << 8;		pfalc->bec += counter;		if (((conf->media == IF_IFACE_T1) &&		     (cpc_readb(falcbase + F_REG(FRS1, ch)) & FRS1_LLBAD) &&		     (!(cpc_readb(falcbase + F_REG(FRS1, ch)) & FRS1_PDEN)))		    ||		    ((conf->media == IF_IFACE_E1) &&		     (cpc_readb(falcbase + F_REG(RSP, ch)) & RSP_LLBAD))) {			pfalc->prbs = 2;		} else {			pfalc->prbs = 1;		}	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7665a08928f241247afe8c76865cdbe4ef5489bf/pc300_drv.c/buggy/drivers/net/wan/pc300_drv.c