Adds an optional bus function to set the address of a new device and
authormpi <mpi@openbsd.org>
Wed, 9 Jul 2014 15:47:54 +0000 (15:47 +0000)
committermpi <mpi@openbsd.org>
Wed, 9 Jul 2014 15:47:54 +0000 (15:47 +0000)
commit890c91c751fe1212a24b1a585d4f3ef97e810618
treed9f3062c79141205f7ae41ed227b8f4a60d39f3b
parent1bfdce7812af84340b28b46455eca063d28ec990
Adds an optional bus function to set the address of a new device and
explicitly set it when required.

Right now xhci(4) does not need such function because it assigns
addresses when the first pipe of a device is opened.

ok yuo@, pirofti@
sys/dev/usb/ehci.c
sys/dev/usb/ohci.c
sys/dev/usb/uhci.c
sys/dev/usb/usb_subr.c
sys/dev/usb/usbdi_util.c
sys/dev/usb/usbdi_util.h
sys/dev/usb/usbdivar.h