> > Well the API seems to still be moving as of 2.5.36
>
> Heh, it's my goal to change it for every kernel release, to keep
> everyone on their toes :)

Well, if it keeps you happy :)
>
> > What is the 2nd argument of usb_register_root_hub supposed to be?
> > I was reading the code and it shows it as the parent, but what is the
> > meaning of a parent of a root hub?
>
> Whatever the root hub is attached to.  For PCI based host controllers,
> it's the pci device.  For other types of controlers, it is whatever they
> are connected to.  If they aren't connected to anything, but just hang
> out in memory space, it's null.  For UM, I would think this would be
> NULL.
>
> This is to position the USB bus in the proper device tree.

Ah, yes...
I had seen it going off with struct device but was uncear if NULL was even a
legal value,
But not understanding its purpose, and seeing the SA1111 case go off to a
undefined value,
I figured, I had better ask rather then make what was looking like a dumb
assumption.
>
> thanks,
>
> greg k-h
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to