patch-1.3.12 linux/drivers/net/depca.c

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

diff -u --recursive --new-file v1.3.11/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -817,7 +817,7 @@
   /* Transmitter timeout, serious problems. */
   if (dev->tbusy) {
     int tickssofar = jiffies - dev->trans_start;
-    if (tickssofar < 100) {
+    if (tickssofar < 1*HZ) {
       status = -1;
     } else {
       printk("%s: transmit timed out, status %04x, resetting.\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