summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 5a10dd6..929e8f5 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,5 +1,4 @@
-/* $NetBSD: uhci.c,v 1.136 2001/07/11 14:11:00 augustss Exp $ */
-
+/* $NetBSD: uhci.c,v 1.138 2001/10/02 17:59:38 pooka Exp $ */
/* $FreeBSD$ */
/*
@@ -1177,6 +1176,11 @@ uhci_intr(void *arg)
if (status == 0) /* The interrupt was not for us. */
return (0);
+#if defined(DIAGNOSTIC) && defined(__NetBSD__)
+ if (sc->sc_suspend != PWR_RESUME)
+ printf("uhci_intr: suspended sts=0x%x\n", status);
+#endif
+
if (sc->sc_suspend != PWR_RESUME) {
printf("%s: interrupt while not operating ignored\n",
USBDEVNAME(sc->sc_bus.bdev));
@@ -1184,11 +1188,6 @@ uhci_intr(void *arg)
return (0);
}
-#if defined(DIAGNOSTIC) && defined(__NetBSD__)
- if (sc->sc_suspend != PWR_RESUME)
- printf("uhci_intr: suspended sts=0x%x\n", status);
-#endif
-
ack = 0;
if (status & UHCI_STS_USBINT)
ack |= UHCI_STS_USBINT;
OpenPOWER on IntegriCloud