summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorZhang Wei <wei.zhang@freescale.com>2007-06-06 08:08:13 (GMT)
committerMarkus Klotzbuecher <mk@pollux.denx.de>2007-06-06 08:08:13 (GMT)
commitfdcfaa1b02268b2899e374b35adf936c911a47eb (patch)
tree7d0f9122da78789b93f1c2758c6e5e8c14867c76 /include/usb.h
parent9a1d00fa47c1e05e3fdb60b33213af4e18d4c18e (diff)
downloadu-boot-fdcfaa1b02268b2899e374b35adf936c911a47eb.tar.xz
USB event poll support
This patch adds USB event poll support, which could be used in usbkbd and other usb devices driver when the asynchronous interrupt processing is supported. Signed-off-by: Zhang Wei <wei.zhang@freescale.com
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h
index 504ccc4..4e1539f 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -180,6 +180,7 @@ int submit_control_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
int transfer_len,struct devrequest *setup);
int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
int transfer_len, int interval);
+void usb_event_poll(void);
/* Defines */
#define USB_UHCI_VEND_ID 0x8086