patch-1.3.62 linux/drivers/net/ibmtr.c

Next file: linux/drivers/net/ibmtr.h
Previous file: linux/drivers/net/3c59x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.61/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -1242,7 +1242,7 @@
 
 	if (dev->tbusy) {
 		int ticks_waited=jiffies - dev->trans_start;
-		if(ticks_waited<5)
+		if(ticks_waited<TX_TIMEOUT)
 			return 1;
 		DPRINTK("Arrg. Transmitter busy for more than 50 msec. Donald resets adapter, but resetting\n \
 the IBM tokenring adapter takes a long time. It might not even help when the\n \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this