On Sat, 16 Jun 2007, jidong xiao wrote: > I found this routine, > /** > * usb_register_root_hub - called by HCD to register its root hub > * @usb_dev: the usb root hub device to be registered. > * @parent_dev: the parent device of this root hub. > * > * 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). > */ > int usb_register_root_hub (struct usb_device *usb_dev, struct device > *parent_dev) > > But who is the parent device of a root hub?The host controller?
Yes. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel