Thread (2 messages) flat view 2 messages, 2 authors, 2011-01-19

Re: [PATCH V7 07/10] USB/ppc4xx: Add Synopsys DWC OTG PCD function

From: Alan Stern <stern@rowland.harvard.edu>
Date: 2011-01-19 16:30:10

On Tue, 18 Jan 2011 tmarri@apm.com wrote:
quoted hunk ↗ jump to hunk
From: Tirumala Marri <redacted>

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 <redacted>
Signed-off-by: Fushen Chen <redacted>
Signed-off-by: Mark Miesfeld <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help