On Nov 12, 2007 7:04 PM, Srinivas G. <[EMAIL PROTECTED]> wrote:
>
> We are not able to find the function name that which invokes the
> ehci_urb_enqueue method. So, could any one please tell/suggest us the
> function name OR procedure to find out.
>

In usb/core/hcd.c:

int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags)
{
...........
                status = hcd->driver->urb_enqueue(hcd, urb,
mem_flags);==> here the function ptr is executed, which is filled up
as below (just to list out some only):

./host/ohci-ep93xx.c:
        .urb_enqueue            = ohci_urb_enqueue,

./host/ohci-pnx8550.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ehci-fsl.c:
        .urb_enqueue = ehci_urb_enqueue,

./host/ehci-ppc-soc.c:
        .urb_enqueue = ehci_urb_enqueue,

./host/ohci-at91.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-sa1111.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-ppc-of.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-pci.c:
        .urb_enqueue =          ohci_urb_enqueue,

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to