From 2b474c9f53bd5172a8a066c69e315a4f963db54d Mon Sep 17 00:00:00 2001 From: joe Date: Sun, 7 Apr 2002 14:45:38 +0000 Subject: 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. --- sys/dev/usb/uhci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb/uhci.c') 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 -- cgit v1.1