From 5c447fe67792dff4e8d996f438908612c2111b58 Mon Sep 17 00:00:00 2001 From: Maksym Stetsyuk Date: Thu, 3 Jun 2021 09:52:21 -0600 Subject: [PATCH] usb: reduce verbosity of logging about unsuccessful port reset Reviewed by: imp@,hselasny@ Pull Request: https://github.com/freebsd/freebsd-src/pull/385 Differential Revision: https://reviews.freebsd.org/D30621 --- sys/dev/usb/usb_hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c index 52ac0a8a7ff7..7f11eea2500d 100644 --- a/sys/dev/usb/usb_hub.c +++ b/sys/dev/usb/usb_hub.c @@ -720,7 +720,7 @@ uhub_reattach_port(struct uhub_softc *sc, uint8_t portno) if ((sc->sc_st.port_change & UPS_C_CONNECT_STATUS) || (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS))) { if (timeout) { - DPRINTFN(0, "giving up port %d reset - " + DPRINTFN(1, "giving up port %d reset - " "device vanished: change %#x status %#x\n", portno, sc->sc_st.port_change, sc->sc_st.port_status);