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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index dc01780..483fb1e 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.127 2000/11/22 05:50:59 soren Exp $ */
+/* $NetBSD: uhci.c,v 1.129 2000/12/16 16:09:24 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -1209,8 +1209,9 @@ uhci_intr(void *arg)
}
if (status & UHCI_STS_HCH) {
/* no acknowledge needed */
- printf("%s: host controller halted\n",
- USBDEVNAME(sc->sc_bus.bdev));
+ if (!sc->sc_dying)
+ printf("%s: host controller halted\n",
+ USBDEVNAME(sc->sc_bus.bdev));
sc->sc_dying = 1;
}
OpenPOWER on IntegriCloud