summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-06 04:11:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-06 04:11:41 +0000
commitc9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (patch)
treeb72cee0cd5dd9503368bc0f7175061f4c017688e /drivers
parentf9897f7bb0c2d0fbb916db256a9d9b00a4fcc06c (diff)
Fix the large number of ``transmit timed out'' messages the driver
was producing.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/sgiseeq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
index a580b21ef..0ea951254 100644
--- a/drivers/net/sgiseeq.c
+++ b/drivers/net/sgiseeq.c
@@ -1,4 +1,4 @@
-/* $Id: sgiseeq.c,v 1.2 1997/08/20 18:18:52 shaver Exp $
+/* $Id: sgiseeq.c,v 1.3 1997/09/16 14:44:21 marks Exp $
* sgiseeq.c: Seeq8003 ethernet driver for SGI machines.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
@@ -507,6 +507,8 @@ static inline int verify_tx(struct sgiseeq_private *sp,
/* Are we bolixed? */
if(dev->tbusy) {
int tickssofar = jiffies - dev->trans_start;
+ if (tickssofar < 20)
+ return 1;
printk("%s: transmit timed out, ticks=%d resetting\n",
dev->name, tickssofar);