rem: if(status&BBA_IR_REI) { __bba_rx_err(bba_in8(BBA_LRPS)); bba_out8(BBA_IR,BBA_IR_REI); } if(status&BBA_IR_TI) { __bba_tx_err(priv,bba_in8(BBA_LTPS)); bba_out8(BBA_IR,BBA_IR_TI); } if(status&BBA_IR_TEI) { __bba_tx_err(priv,bba_in8(BBA_LTPS)); bba_out8(BBA_IR,BBA_IR_TEI); } if(status&BBA_IR_FIFOEI) { __bba_tx_wake(priv); bba_out8(BBA_IR,BBA_IR_FIFOEI); } if(status&BBA_IR_BUSEI) { bba_out8(BBA_IR,BBA_IR_BUSEI); } if(status&BBA_IR_RBFI) {
add: } if(status&BBA_IR_REI) { __bba_rx_err(bba_in8(BBA_LRPS)); bba_out8(BBA_IR,BBA_IR_REI); } if(status&BBA_IR_TI) { __bba_tx_wake(priv); __bba_tx_err(bba_in8(BBA_LTPS)); bba_out8(BBA_IR,BBA_IR_TI); } if(status&BBA_IR_TEI) { __bba_tx_wake(priv); __bba_tx_err(bba_in8(BBA_LTPS)); bba_out8(BBA_IR,BBA_IR_TEI); } if(status&BBA_IR_FIFOEI) { __bba_tx_wake(priv); bba_out8(BBA_IR,BBA_IR_FIFOEI); } if(status&BBA_IR_BUSEI) { bba_out8(BBA_IR,BBA_IR_BUSEI); } if(status&BBA_IR_RBFI) { if(cur_rcv_buf==NULL) {
context: static inline void bba_interrupt(struct netif *dev){	u8 ir,imr,status;	u32 loops = 0;	struct bba_priv *priv = (struct bba_priv*)dev->state;		ir = bba_in8(BBA_IR);	imr = bba_in8(BBA_IMR);	status = ir&imr;	LWIP_DEBUGF(NETIF_DEBUG,("bba_interrupt(status(%02x))\n",status));	while(status) {		if(status&BBA_IR_FRAGI) {			bba_out8(BBA_IR,BBA_IR_FRAGI);		}		if(status&BBA_IR_RI) {			bba_start_rx();			return;		}		if(status&BBA_IR_REI) {			__bba_rx_err(bba_in8(BBA_LRPS));			bba_out8(BBA_IR,BBA_IR_REI);		}		if(status&BBA_IR_TI) {			__bba_tx_err(priv,bba_in8(BBA_LTPS));			bba_out8(BBA_IR,BBA_IR_TI);		}		if(status&BBA_IR_TEI) {			__bba_tx_err(priv,bba_in8(BBA_LTPS));			bba_out8(BBA_IR,BBA_IR_TEI);		}		if(status&BBA_IR_FIFOEI) {			__bba_tx_wake(priv);			bba_out8(BBA_IR,BBA_IR_FIFOEI);		}		if(status&BBA_IR_BUSEI) {			bba_out8(BBA_IR,BBA_IR_BUSEI);		}		if(status&BBA_IR_RBFI) {			bba_start_rx();			return;		}		ir = bba_in8(BBA_IR);		imr = bba_in8(BBA_IMR);		status = ir&imr;		loops++;	}	bba_cmd_out8(0x02,BBA_CMD_IRMASKNONE);	EXI_Unlock(EXI_CHANNEL_0);}