diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2002-06-30 22:28:00 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2002-06-30 22:28:00 +0000 |
| commit | 41aa0ba271cfff3852e4d88f1b8bb52d44c374b2 (patch) | |
| tree | 8d245dabe485bfa3cd255623e8769118f8cdfaba /sys/dev | |
| parent | 2e4fb41fa595a807db045235618be5b844ab5bec (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/fxp/if_fxp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 1d2ff03f0c3e4..50da42e1421aa 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1253,11 +1253,13 @@ fxp_intr_body(struct fxp_softc *sc, u_int8_t statack, int count) sc->tx_queued--; } sc->cbl_first = txp; - ifp->if_timer = 0; if (sc->tx_queued == 0) { + ifp->if_timer = 0; if (sc->need_mcsetup) fxp_mc_setup(sc); - } + } else + ifp->if_timer = 5; + /* * Try to start more packets transmitting. */ |
