summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-10-25 02:41:11 +0000
committeryongari <yongari@FreeBSD.org>2008-10-25 02:41:11 +0000
commit1b612ce28ee4ea3ef3bb4da8e2c6b72471420bf1 (patch)
treed7c7a4dd59989be751423c9b8256ee9a85f161f9
parent0eb79dbab5ca231e7e169901b6a67ab18cf1affb (diff)
downloadFreeBSD-src-1b612ce28ee4ea3ef3bb4da8e2c6b72471420bf1.zip
FreeBSD-src-1b612ce28ee4ea3ef3bb4da8e2c6b72471420bf1.tar.gz
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.
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 08dd363..3adf1bb 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -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
OpenPOWER on IntegriCloud