usb_hcd_register_root_hub — called by HCD to register its root hub
int usb_hcd_register_root_hub ( | struct usb_device * | usb_dev, |
struct usb_hcd * | hcd) ; |
The USB host controller calls this function to register the root hub
properly with the USB subsystem. It sets up the device properly in
the device tree and stores the root_hub pointer in the bus structure,
then calls usb_new_device
to register the usb device. It also
assigns the root hub's USB address (always 1).