From e2102ae4753fd3bc0efafc37298db1f43033ef7d Mon Sep 17 00:00:00 2001 From: Mike Silbersack Date: Mon, 29 Jul 2002 04:32:35 +0000 Subject: [PATCH] Revert rev 1.131. 1.131 is slightly broken, and I would commit the fix to that here, but it has been reported that any deviation from the original code is causing problems with some 82557 chips, causing them to lock hard. Until those issues have been figured out, going back to the original code is the best plan. Frustrated: Silby --- sys/dev/fxp/if_fxp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index da9dc0e4051..2790079f7d0 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1253,13 +1253,11 @@ 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. */