summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-07 14:45:38 +0000
committerjoe <joe@FreeBSD.org>2002-04-07 14:45:38 +0000
commit2b474c9f53bd5172a8a066c69e315a4f963db54d (patch)
tree071010c9a8a1061e8dc0c316e33e9c8369851ef1 /sys/dev/usb/uhci.c
parentee793d97cca19a5a608125e1651b374f32d5ab96 (diff)
downloadFreeBSD-src-2b474c9f53bd5172a8a066c69e315a4f963db54d.zip
FreeBSD-src-2b474c9f53bd5172a8a066c69e315a4f963db54d.tar.gz
MFNetBSD: ohci.c (1.111), uhci.c (1.146)
date: 2001/11/20 21:12:46; author: augustss; Don't bother with interrupts when being disconnected.
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 2fc3595..78b3bad 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.144 2001/11/20 13:48:32 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.146 2001/11/20 21:12:46 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -1151,6 +1151,9 @@ uhci_intr(void *arg)
{
uhci_softc_t *sc = arg;
+ if (sc->sc_dying)
+ return (0);
+
DPRINTFN(15,("uhci_intr: real interrupt\n"));
if (sc->sc_bus.use_polling) {
#ifdef DIAGNOSTIC
OpenPOWER on IntegriCloud