From c01681e11a29ff8a2840358208ace1e48c210ec0 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 1 Apr 2002 20:14:23 +0000 Subject: 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. --- sys/dev/usb/uhci.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb/uhci.c') 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; } -- cgit v1.1