summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-04-01 13:36:09 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-04-01 13:36:09 +0000
commit04b496f5658eb86918ba5d90902f4fbdce299e1a (patch)
tree5e5206d9e526de5facdd647eba59b94b91237cc5
parenta4c6b91603a65285fc82962e0441a89c8b7409de (diff)
Notes
-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 fef5307317c4..f6743332a918 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);