Don't repeat 'host controller halted' message. From OpenBSD.
This commit is contained in:
parent
d839461405
commit
d1c538bc2f
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: uhci.c,v 1.128 2000/11/26 11:08:59 takemura Exp $ */
|
/* $NetBSD: uhci.c,v 1.129 2000/12/16 16:09:24 augustss Exp $ */
|
||||||
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
|
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1197,8 +1197,9 @@ uhci_intr(void *arg)
|
|||||||
}
|
}
|
||||||
if (status & UHCI_STS_HCH) {
|
if (status & UHCI_STS_HCH) {
|
||||||
/* no acknowledge needed */
|
/* no acknowledge needed */
|
||||||
printf("%s: host controller halted\n",
|
if (!sc->sc_dying)
|
||||||
USBDEVNAME(sc->sc_bus.bdev));
|
printf("%s: host controller halted\n",
|
||||||
|
USBDEVNAME(sc->sc_bus.bdev));
|
||||||
sc->sc_dying = 1;
|
sc->sc_dying = 1;
|
||||||
#ifdef UHCI_DEBUG
|
#ifdef UHCI_DEBUG
|
||||||
uhci_dump_all(sc);
|
uhci_dump_all(sc);
|
||||||
|
Loading…
Reference in New Issue
Block a user