summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uhci.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index fef5307..f674333 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.112 2000/04/25 14:28:14 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.118 2000/05/30 16:56:54 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -1168,6 +1168,12 @@ uhci_intr(void *arg)
}
#endif
+ if (sc->sc_suspend != PWR_RESUME) {
+ printf("%s: interrupt while not operating ignored\n",
+ USBDEVNAME(sc->sc_bus.bdev));
+ return (0);
+ }
+
status = UREAD2(sc, UHCI_STS);
if (status == 0) /* The interrupt was not for us. */
return (0);
OpenPOWER on IntegriCloud