svn commit: r184241 - head/sys/pci

Pyun YongHyeon yongari at FreeBSD.org
Sat Oct 25 02:41:11 UTC 2008


Author: yongari
Date: Sat Oct 25 02:41:11 2008
New Revision: 184241
URL: http://svn.freebsd.org/changeset/base/184241

Log:
  Don't rearm watchdog timer in rl_txeof(). The watchdog timer was
  already set in rl_start_locked(). Touching the watchdog timer in
  other places will hide the root cause of watchdog timeouts.

Modified:
  head/sys/pci/if_rl.c

Modified: head/sys/pci/if_rl.c
==============================================================================
--- head/sys/pci/if_rl.c	Sat Oct 25 02:36:08 2008	(r184240)
+++ head/sys/pci/if_rl.c	Sat Oct 25 02:41:11 2008	(r184241)
@@ -1354,8 +1354,6 @@ rl_txeof(struct rl_softc *sc)
 
 	if (RL_LAST_TXMBUF(sc) == NULL)
 		sc->rl_watchdog_timer = 0;
-	else if (sc->rl_watchdog_timer == 0)
-		sc->rl_watchdog_timer = 5;
 }
 
 static void


More information about the svn-src-all mailing list