Hi
I've been looking at this all afternoon and I can't figure this out...

EHCI's callback function .endpoint_disable gets called by the HC layer:
   ehci_endpoint_disable( usb_hcd* hcd, usb_host_endpoint* ep )

That function then uses the usb_host_endpoint structure to get the QH:
   qh = ep->hcpriv;

Where in the code does ep.hcpriv get set to qh ?


I see that a pool of QH are created in ehci_mem_init(..).
One of those QH is allocated to ehci->async.

But I don't see where qh->hcpriv gets set ?

As always I appreciate any help, I realize my questions are basic.
Thanks
dom



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to