diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-10-16 20:37:26 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-10-16 20:37:26 +0000 |
commit | 8f6c590f9f0fbde88d0febe61c8be654c5ea0c85 (patch) | |
tree | 53320f1550a1ccb9333b7a88bf147c25eb9e7c91 /sys/dev/ic/re.c | |
parent | fd0da96f68a543643ba43b86a3b5806653cc1642 (diff) |
Fix for watchdog timeouts experienced with some Realtek adapters.
From wpaul@FreeBSD
ok kettenis@
Diffstat (limited to 'sys/dev/ic/re.c')
-rw-r--r-- | sys/dev/ic/re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index c6fd2a46b66..9d9415e917e 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.47 2006/09/29 17:35:45 brad Exp $ */ +/* $OpenBSD: re.c,v 1.48 2006/10/16 20:37:25 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1402,7 +1402,7 @@ re_txeof(struct rl_softc *sc) /* No changes made to the TX ring, so no flush needed */ - if (idx != sc->rl_ldata.rl_txq_considx) { + if (sc->rl_ldata.rl_tx_free) { sc->rl_ldata.rl_txq_considx = idx; ifp->if_flags &= ~IFF_OACTIVE; ifp->if_timer = 0; |