MFC r261123:
Reduce dmesg verbosity.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261469 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261004, r261005 and r261033:
Adjust the DMA delay logic so that the DMA delay does not become too small.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261224:
Comply to the official LibUSB v1.0 API:
"It is legal to attempt to claim an already-claimed interface."


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261473 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261228:
When detaching a [USB] keyboard, keys might still be pressed. Ensure
that all pressed keys are released before completing the USB keyboard
detach. This will prevent so-called "ghost-keys" from appearing after
that the USB device generating the key event(s) has been detached.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261476 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r260315:
Implement two new libusb API functions.

PR:		usb/185454


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261484 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r233049 by rmh

Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the default
option with GENERIC kernels).

PR:		179536
Submitted by:	Alexey Markov


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261540 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244535, r245995, r261505 and r258961:
- Use a boundary of zero, hence a PAGE_SIZE boundary
is implied by all memory allocations.
- Fix an external compiler warning about write-only
assigned variable.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/8@261581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f