CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2016/05/18 12:28:58

Modified files:
        sys/dev/usb    : usb.c usb_subr.c usbdivar.h 

Log message:
Cache vendor, product and serial info for each usb device.  This allows
ioctl(USB_DEVICEINFO) not to issue any further requests to gather
information.  Thus reducing stress on connected usb devices.
This fixes an issue where usbdevs called in a loop causes a USB mass
storage device to halt operation.

Adapted from a similar commit in NetBSD.

ok mpi@

Reply via email to