HomeFreeBSD

Reduce timeout for reading the USB HUB port status to 1000ms and try to filter

Description

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>
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS342777: MFC r342046: nda(4) fix check for Dataset Management support
Branches
Unknown
Tags
Unknown