diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-01 20:14:23 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-01 20:14:23 +0000 |
| commit | ce2613651f6858b3648872de52a24c32140cdb6d (patch) | |
| tree | cbfff253019e338d075a4823dded9c6aa0b4be7b | |
| parent | 4c44ad8ee54c4b485ad7d0efcbe551f362c85b8f (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/uhci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index dc017806898a..483fb1e9b84b 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; } |
