diff options
author | joe <joe@FreeBSD.org> | 2002-04-01 20:14:23 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-01 20:14:23 +0000 |
commit | c01681e11a29ff8a2840358208ace1e48c210ec0 (patch) | |
tree | cbfff253019e338d075a4823dded9c6aa0b4be7b /sys | |
parent | 81ff87afc2d6193eec7b641a8cb8f653e50a4c3d (diff) | |
download | FreeBSD-src-c01681e11a29ff8a2840358208ace1e48c210ec0.zip FreeBSD-src-c01681e11a29ff8a2840358208ace1e48c210ec0.tar.gz |
MFNetBSD:
revision 1.129
date: 2000/12/16 16:09:24; author: augustss; state: Exp; lines: +4 -3
Don't repeat 'host controller halted' message. From OpenBSD.
Diffstat (limited to 'sys')
-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 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; } |