summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2002-07-29 04:32:35 +0000
committersilby <silby@FreeBSD.org>2002-07-29 04:32:35 +0000
commitd14ee67c6425fc8631eb059cb3830586c802bc9e (patch)
tree88827323d1aec438f966f6b5975daa37d26767fc /sys/dev/fxp
parent8f19c0d3476e3134ee71dff3bd452a7504503af1 (diff)
downloadFreeBSD-src-d14ee67c6425fc8631eb059cb3830586c802bc9e.zip
FreeBSD-src-d14ee67c6425fc8631eb059cb3830586c802bc9e.tar.gz
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
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index da9dc0e..2790079 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.
*/
OpenPOWER on IntegriCloud