diff options
author | jhb <jhb@FreeBSD.org> | 2005-08-09 21:53:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-08-09 21:53:26 +0000 |
commit | 1fa7c5496544e596ce7f663b65255d9ba660084b (patch) | |
tree | e36c25ac64d297b2da8c4e2f1b952f1295b494e5 | |
parent | 66d9331654cf93e197948a2612dc54955b151651 (diff) | |
download | FreeBSD-src-1fa7c5496544e596ce7f663b65255d9ba660084b.zip FreeBSD-src-1fa7c5496544e596ce7f663b65255d9ba660084b.tar.gz |
Call tulip_start() rather than tulip_ifstart() from the interrupt handler
to avoid recursing on the driver lock. Not sure why my test box didn't
catch this earlier.
MFC after: 3 days
-rw-r--r-- | sys/dev/de/if_de.c | 2 | ||||
-rw-r--r-- | sys/pci/if_de.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index d786abe..c153f37 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -3908,7 +3908,7 @@ tulip_intr_handler( if (sc->tulip_flags & (TULIP_WANTTXSTART|TULIP_TXPROBE_ACTIVE|TULIP_DOINGSETUP|TULIP_PROMISC)) { tulip_tx_intr(sc); if ((sc->tulip_flags & TULIP_TXPROBE_ACTIVE) == 0) - tulip_ifstart(sc->tulip_ifp); + tulip_start(sc); } } if (sc->tulip_flags & TULIP_NEEDRESET) { diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index d786abe..c153f37 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -3908,7 +3908,7 @@ tulip_intr_handler( if (sc->tulip_flags & (TULIP_WANTTXSTART|TULIP_TXPROBE_ACTIVE|TULIP_DOINGSETUP|TULIP_PROMISC)) { tulip_tx_intr(sc); if ((sc->tulip_flags & TULIP_TXPROBE_ACTIVE) == 0) - tulip_ifstart(sc->tulip_ifp); + tulip_start(sc); } } if (sc->tulip_flags & TULIP_NEEDRESET) { |