Defer boot-time exploration of USB busses until all devices in the
commit057e134f79f5866f1ce9afcaf2368e06d79c8972
authormneumann <mneumann>
Sun, 25 May 2008 16:53:41 +0000 (25 16:53 +0000)
committermneumann <mneumann>
Sun, 25 May 2008 16:53:41 +0000 (25 16:53 +0000)
tree5d975a49bbb06d006ec58de37452378347cd073a
parent7e0e4d223e721c7785ef81fe0e80474862cd5ec9
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