void cpc_sca_status(pc300_t * card, int ch) 
static void cpc_sca_status(pc300_t * card, int ch) 
void cpc_sca_status(pc300_t * card, int ch){	ucchar ilar;	void __iomem *scabase = card->hw.scabase;	unsigned long flags;	tx_dma_buf_check(card, ch);	rx_dma_buf_check(card, ch);	ilar = cpc_readb(scabase + ILAR);	printk ("ILAR=0x%02x, WCRL=0x%02x, PCR=0x%02x, BTCR=0x%02x, BOLR=0x%02x\n",		 ilar, cpc_readb(scabase + WCRL), cpc_readb(scabase + PCR),		 cpc_readb(scabase + BTCR), cpc_readb(scabase + BOLR));	printk("TX_CDA=0x%08x, TX_EDA=0x%08x\n",	       cpc_readl(scabase + DTX_REG(CDAL, ch)),	       cpc_readl(scabase + DTX_REG(EDAL, ch)));	printk("RX_CDA=0x%08x, RX_EDA=0x%08x, BFL=0x%04x\n",	       cpc_readl(scabase + DRX_REG(CDAL, ch)),	       cpc_readl(scabase + DRX_REG(EDAL, ch)),	       cpc_readw(scabase + DRX_REG(BFLL, ch)));	printk("DMER=0x%02x, DSR_TX=0x%02x, DSR_RX=0x%02x\n",	       cpc_readb(scabase + DMER), cpc_readb(scabase + DSR_TX(ch)),	       cpc_readb(scabase + DSR_RX(ch)));	printk("DMR_TX=0x%02x, DMR_RX=0x%02x, DIR_TX=0x%02x, DIR_RX=0x%02x\n",	       cpc_readb(scabase + DMR_TX(ch)), cpc_readb(scabase + DMR_RX(ch)),	       cpc_readb(scabase + DIR_TX(ch)),	       cpc_readb(scabase + DIR_RX(ch)));	printk("DCR_TX=0x%02x, DCR_RX=0x%02x, FCT_TX=0x%02x, FCT_RX=0x%02x\n",	       cpc_readb(scabase + DCR_TX(ch)), cpc_readb(scabase + DCR_RX(ch)),	       cpc_readb(scabase + FCT_TX(ch)),	       cpc_readb(scabase + FCT_RX(ch)));	printk("MD0=0x%02x, MD1=0x%02x, MD2=0x%02x, MD3=0x%02x, IDL=0x%02x\n",	       cpc_readb(scabase + M_REG(MD0, ch)),	       cpc_readb(scabase + M_REG(MD1, ch)),	       cpc_readb(scabase + M_REG(MD2, ch)),	       cpc_readb(scabase + M_REG(MD3, ch)),	       cpc_readb(scabase + M_REG(IDL, ch)));	printk("CMD=0x%02x, SA0=0x%02x, SA1=0x%02x, TFN=0x%02x, CTL=0x%02x\n",	       cpc_readb(scabase + M_REG(CMD, ch)),	       cpc_readb(scabase + M_REG(SA0, ch)),	       cpc_readb(scabase + M_REG(SA1, ch)),	       cpc_readb(scabase + M_REG(TFN, ch)),	       cpc_readb(scabase + M_REG(CTL, ch)));	printk("ST0=0x%02x, ST1=0x%02x, ST2=0x%02x, ST3=0x%02x, ST4=0x%02x\n",	       cpc_readb(scabase + M_REG(ST0, ch)),	       cpc_readb(scabase + M_REG(ST1, ch)),	       cpc_readb(scabase + M_REG(ST2, ch)),	       cpc_readb(scabase + M_REG(ST3, ch)),	       cpc_readb(scabase + M_REG(ST4, ch)));	printk ("CST0=0x%02x, CST1=0x%02x, CST2=0x%02x, CST3=0x%02x, FST=0x%02x\n",		 cpc_readb(scabase + M_REG(CST0, ch)),		 cpc_readb(scabase + M_REG(CST1, ch)),		 cpc_readb(scabase + M_REG(CST2, ch)),		 cpc_readb(scabase + M_REG(CST3, ch)),		 cpc_readb(scabase + M_REG(FST, ch)));	printk("TRC0=0x%02x, TRC1=0x%02x, RRC=0x%02x, TBN=0x%02x, RBN=0x%02x\n",	       cpc_readb(scabase + M_REG(TRC0, ch)),	       cpc_readb(scabase + M_REG(TRC1, ch)),	       cpc_readb(scabase + M_REG(RRC, ch)),	       cpc_readb(scabase + M_REG(TBN, ch)),	       cpc_readb(scabase + M_REG(RBN, ch)));	printk("TFS=0x%02x, TNR0=0x%02x, TNR1=0x%02x, RNR=0x%02x\n",	       cpc_readb(scabase + M_REG(TFS, ch)),	       cpc_readb(scabase + M_REG(TNR0, ch)),	       cpc_readb(scabase + M_REG(TNR1, ch)),	       cpc_readb(scabase + M_REG(RNR, ch)));	printk("TCR=0x%02x, RCR=0x%02x, TNR1=0x%02x, RNR=0x%02x\n",	       cpc_readb(scabase + M_REG(TCR, ch)),	       cpc_readb(scabase + M_REG(RCR, ch)),	       cpc_readb(scabase + M_REG(TNR1, ch)),	       cpc_readb(scabase + M_REG(RNR, ch)));	printk("TXS=0x%02x, RXS=0x%02x, EXS=0x%02x, TMCT=0x%02x, TMCR=0x%02x\n",	       cpc_readb(scabase + M_REG(TXS, ch)),	       cpc_readb(scabase + M_REG(RXS, ch)),	       cpc_readb(scabase + M_REG(EXS, ch)),	       cpc_readb(scabase + M_REG(TMCT, ch)),	       cpc_readb(scabase + M_REG(TMCR, ch)));	printk("IE0=0x%02x, IE1=0x%02x, IE2=0x%02x, IE4=0x%02x, FIE=0x%02x\n",	       cpc_readb(scabase + M_REG(IE0, ch)),	       cpc_readb(scabase + M_REG(IE1, ch)),	       cpc_readb(scabase + M_REG(IE2, ch)),	       cpc_readb(scabase + M_REG(IE4, ch)),	       cpc_readb(scabase + M_REG(FIE, ch)));	printk("IER0=0x%08x\n", cpc_readl(scabase + IER0));	if (ilar != 0) {		CPC_LOCK(card, flags);		cpc_writeb(scabase + ILAR, ilar);		cpc_writeb(scabase + DMER, 0x80);		CPC_UNLOCK(card, flags);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7665a08928f241247afe8c76865cdbe4ef5489bf/pc300_drv.c/buggy/drivers/net/wan/pc300_drv.c