On Tue, 18 Jan 2011 tma...@apm.com wrote:

> From: Tirumala Marri <tma...@apm.com>
> 
> The PCD is responsible for translating requests from the gadget driver
> to appropriate actions on the DWC OTG controller.
> 
> Signed-off-by: Tirumala R Marri <tma...@apm.com>
> Signed-off-by: Fushen Chen <fc...@apm.com>
> Signed-off-by: Mark Miesfeld <mmiesf...@apm.com>
> ---
>  drivers/usb/dwc_otg/dwc_otg_pcd.c | 1752 
> +++++++++++++++++++++++++++++++++++++
>  drivers/usb/dwc_otg/dwc_otg_pcd.h |  139 +++
>  2 files changed, 1891 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/dwc_otg/dwc_otg_pcd.c 
> b/drivers/usb/dwc_otg/dwc_otg_pcd.c
> new file mode 100644
> index 0000000..857dcee
> --- /dev/null
> +++ b/drivers/usb/dwc_otg/dwc_otg_pcd.c

...

> +static struct usb_ep_ops dwc_otg_pcd_ep_ops = {
> +     .enable = dwc_otg_pcd_ep_enable,
> +     .disable = dwc_otg_pcd_ep_disable,
> +     .alloc_request = dwc_otg_pcd_alloc_request,
> +     .free_request = dwc_otg_pcd_free_request,
> +     .queue = dwc_otg_pcd_ep_queue,
> +     .dequeue = dwc_otg_pcd_ep_dequeue,
> +     .set_halt = dwc_otg_pcd_ep_set_halt,
> +     .fifo_status = NULL,
> +     .fifo_flush = NULL,
> +};

This is missing a .set_wedge method.

Alan Stern

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to