patch-2.1.31 linux/drivers/net/eexpress.c

Next file: linux/drivers/net/fmv18x.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -467,25 +467,6 @@
 	if (dev->tbusy)
 		unstick_cu(dev);
 
-	if (buf==NULL)
-	{
-		/* Some higher layer thinks we might have missed a
-		 * tx-done interrupt.  Does this ever actually happen?
-		 */
-		unsigned short status = scb_status(dev);
-		unsigned short txstatus = eexp_hw_lasttxstat(dev);
-		if (SCB_CUdead(status))
-		{
-			printk(KERN_WARNING "%s: CU has died! status %04x %04x, attempting to restart...\n",
-				dev->name, status, txstatus);
-			lp->stats.tx_errors++;
-			eexp_hw_txrestart(dev);
-		}
-		dev_tint(dev);
-		outb(SIRQ_en|irqrmap[dev->irq],dev->base_addr+SET_IRQ);
-		return 0;
-	}
-
 	if (set_bit(0,(void *)&dev->tbusy))
 	{
 		lp->stats.tx_dropped++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov