if (tx_status & TS_LOSTCAR) 
 if (tx_status & ES_LOSTCARR) 
static void smc_tx(struct net_device *dev){	struct smc_local *lp = netdev_priv(dev);	void __iomem *ioaddr = lp->base;	unsigned int saved_packet, packet_no, tx_status, pkt_len;	DBG(3, "%s: %s\n", dev->name, __FUNCTION__);	/* If the TX FIFO is empty then nothing to do */	packet_no = SMC_GET_TXFIFO();	if (unlikely(packet_no & TXFIFO_TEMPTY)) {		PRINTK("%s: smc_tx with nothing on FIFO.\n", dev->name);		return;	}	/* select packet to read from */	saved_packet = SMC_GET_PN();	SMC_SET_PN(packet_no);	/* read the first word (status word) from this packet */	SMC_SET_PTR(PTR_AUTOINC | PTR_READ);	SMC_GET_PKT_HDR(tx_status, pkt_len);	DBG(2, "%s: TX STATUS 0x%04x PNR 0x%02x\n",		dev->name, tx_status, packet_no);	if (!(tx_status & TS_SUCCESS))		lp->stats.tx_errors++;	if (tx_status & TS_LOSTCAR)		lp->stats.tx_carrier_errors++;	if (tx_status & TS_LATCOL) {		PRINTK("%s: late collision occurred on last xmit\n", dev->name);		lp->stats.tx_window_errors++;		if (!(lp->stats.tx_window_errors & 63) && net_ratelimit()) {			printk(KERN_INFO "%s: unexpectedly large numbers of "			       "late collisions. Please check duplex "			       "setting.\n", dev->name);		}	}	/* kill the packet */	SMC_WAIT_MMU_BUSY();	SMC_SET_MMU_CMD(MC_FREEPKT);	/* Don't restore Packet Number Reg until busy bit is cleared */	SMC_WAIT_MMU_BUSY();	SMC_SET_PN(saved_packet);	/* re-enable transmit */	SMC_SELECT_BANK(0);	SMC_SET_TCR(lp->tcr_cur_mode);	SMC_SELECT_BANK(2);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8de901150f3c58b019b2a3ce497d23ab662dbb8b/smc91x.c/clean/drivers/net/smc91x.c