patch-2.0.8 linux/drivers/net/3c59x.c

Next file: linux/drivers/net/bsd_comp.c
Previous file: linux/drivers/isdn/isdn_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.7/linux/drivers/net/3c59x.c linux/drivers/net/3c59x.c
@@ -750,9 +750,13 @@
 	   we actually have room for this packet.
 	   */
 
+#if 0
+	/* unstable optimization */
 	if (inw(ioaddr + TxFree) > skb->len) /* We actually have free room. */
 	  dev->tbusy = 0;			/* Fake out the check below. */
-	else if (dev->tbusy) {
+	else
+#endif
+	if (dev->tbusy) {
 		/* Transmitter timeout, serious problems. */
 		int tickssofar = jiffies - dev->trans_start;
 		int i;

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