dprintk(KERN_DEBUG "%s: Got tx_timeout. irq: %08x\n", dev->name, 
printk(KERN_INFO "%s: Got tx_timeout. irq: %08x\n", dev->name, 
static void nv_tx_timeout(struct net_device *dev){	struct fe_priv *np = get_nvpriv(dev);	u8 __iomem *base = get_hwbase(dev);	dprintk(KERN_DEBUG "%s: Got tx_timeout. irq: %08x\n", dev->name,			readl(base + NvRegIrqStatus) & NVREG_IRQSTAT_MASK);	spin_lock_irq(&np->lock);	/* 1) stop tx engine */	nv_stop_tx(dev);	/* 2) check that the packets were not sent already: */	nv_tx_done(dev);	/* 3) if there are dead entries: clear everything */	if (np->next_tx != np->nic_tx) {		printk(KERN_DEBUG "%s: tx_timeout: dead entries!\n", dev->name);		nv_drain_tx(dev);		np->next_tx = np->nic_tx = 0;		writel((u32) (np->ring_addr + RX_RING*sizeof(struct ring_desc)), base + NvRegTxRingPhysAddr);		netif_wake_queue(dev);	}	/* 4) restart tx engine */	nv_start_tx(dev);	spin_unlock_irq(&np->lock);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c2dba06dae7d6c4d15b83ea12d8c601cffd0aee9/forcedeth.c/buggy/drivers/net/forcedeth.c