Defer boot-time exploration of USB busses until all devices in the
commit5d0fb0e6a13d29aab69eab8a3726d07f7ec9606b
authorMichael Neumann <mneumann@dragonflybsd.org>
Sun, 25 May 2008 16:53:41 +0000 (25 16:53 +0000)
committerMichael Neumann <mneumann@dragonflybsd.org>
Sun, 25 May 2008 16:53:41 +0000 (25 16:53 +0000)
tree434e2608cfaf1bced737b88a97ce0528e37f341c
parent73e5f8bc41a0d956c3ccc41a606a996de72b7ba7
Defer boot-time exploration of USB busses until all devices in the
system have been attached, but no later. This ensures that we do
not explore ohci or uhci busses before the companion ehci controller
has been initialised, so it should fix the problem of multi-speed
USB devices getting attached as USB 1 devices first and then
re-attached as USB 2.

This fixes issue #946 for qemu and my HP Compaq 6710b laptop.

Obtained-from:  FreeBSD/usb.c 1.104 to 1.106 and NetBSD/usb.c 1.35
Dragonfly-bug:  <http://bugs.dragonflybsd.org/issue947>
sys/bus/usb/usb.c