[U-Boot-Users] [PATCH 4/14] Introduce cdc_recv_setup event handling callback
Bryan O'Donoghue
bodonoghue at codehermit.ie
Fri May 26 23:06:44 CEST 2006
Signed-off-by: Bryan O'Donoghue <bodonoghue at codehermit.ie>
modified: include/usbdcore.h
Adds cdc_recv_setup as a callback to support USB CDC specific
control requests
---
include/usbdcore.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
36e6bf2cc8e32f0b250ceb8298ad0cdd75e6eb43
diff --git a/include/usbdcore.h b/include/usbdcore.h
--- a/include/usbdcore.h
+++ b/include/usbdcore.h
@@ -576,6 +576,9 @@ struct usb_device_instance {
void (*event) (struct usb_device_instance *device, usb_device_event_t event, int data);
+ /* Do cdc device specific control requests */
+ int (*cdc_recv_setup)(struct usb_device_request *request, struct urb *urb);
+
/* bus interface */
struct usb_bus_instance *bus; /* which bus interface driver */
More information about the U-Boot
mailing list