aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2020-11-06 22:40:00 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2020-11-06 22:40:00 +0000
commit2144eb756895d97f8a09961b270f08b166a71d65 (patch)
tree58bab0a5ec873905748d096a541fd0f22cf595d3 /sys/dev
parente771d590741ea39be83558bda72854c65e1084ae (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usb_hub.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index f2180e8fc174..aae661549718 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -720,8 +720,10 @@ repeat:
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 reset "
- "- device vanished\n");
+ DPRINTFN(0, "giving up port %d reset - "
+ "device vanished: change %#x status %#x\n",
+ portno, sc->sc_st.port_change,
+ sc->sc_st.port_status);
goto error;
}
timeout = 1;