summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index b04d617..58986fa 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.101 2001/02/20 15:20:32 minoura Exp $ */
+/* $NetBSD: ohci.c,v 1.111 2001/11/20 21:12:46 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -1056,6 +1056,9 @@ ohci_intr(void *p)
{
ohci_softc_t *sc = p;
+ if (sc->sc_dying)
+ return (0);
+
/* If we get an interrupt while polling, then just ignore it. */
if (sc->sc_bus.use_polling) {
#ifdef DIAGNOSTIC
OpenPOWER on IntegriCloud