]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r342778:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jan 2019 08:49:10 +0000 (08:49 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jan 2019 08:49:10 +0000 (08:49 +0000)
commiteb62f49d7862c9060f1b6938d3319a3602f4a44a
tree0124019cbe8f0be93263f2db5d7f6728345aa41d
parentd13d80ec81786ec50ac84901a2317cb4dc1f6b25
MFC r342778:
Reduce timeout for reading the USB HUB port status to 1000ms and try to filter
out dead USB HUB devices by implementing an error counter, so that the USB
enumeration thread does not spend all its time reading from non-responding
devices, blocking user-space access in the end.

Tested by: Matthias Apitz <guru@unixarea.de>
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@343136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/usb_hub.c
sys/dev/usb/usb_request.c