aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-06-16 04:45:57 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-06-16 04:45:57 +0000
commit3729f8481a705dc5d2b1c427806dafe6d2d26e21 (patch)
treec2ce1a2f8914a1e74e237d7edf8dd3f9c60d95ae /sys/dev/fxp
parent2c1011f7ef96332fae2af03f06aacf800af2dd2b (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 09542a0a6ffe..7dd62f510aaf 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.34 1997/04/23 01:44:30 davidg Exp $
+ * $Id: if_fxp.c,v 1.35 1997/06/13 22:34:52 davidg Exp $
*/
/*
@@ -594,15 +594,14 @@ fxp_intr(arg)
txp->mb_head = NULL;
sc->tx_queued--;
}
- if (txp->cb_command & FXP_CB_COMMAND_S)
+ if (txp == sc->cbl_last)
break;
}
sc->cbl_first = txp;
+ ifp->if_timer = 0;
/*
- * Clear watchdog timer. It may or may not be set
- * again in fxp_start().
+ * Try to start more packets transmitting.
*/
- ifp->if_timer = 0;
if (ifp->if_snd.ifq_head != NULL)
fxp_start(ifp);
}