REGISTER_ROOT_HUB

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

register_root_hub - called by usb_add_hcd to register a root hub  

SYNOPSIS

"SYNOPSIS"

int register_root_hub (struct usb_device * usb_dev, struct usb_hcd * hcd);  

ARGUMENTS

usb_dev
the usb root hub device to be registered.
hcd
host controller for this root hub
 

DESCRIPTION

This function registers the root hub 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).


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:42 GMT, October 09, 2005