From fcde23065f10da07bc0231531281b5aa0445e6ef Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 9 Aug 2005 21:53:26 +0000 Subject: [PATCH] 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 --- sys/dev/de/if_de.c | 2 +- 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 d786abe2c1f8..c153f3748eab 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 d786abe2c1f8..c153f3748eab 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) {