summaryrefslogtreecommitdiffstats
path: root/src/drivers/usb/xhci.h
diff options
context:
space:
mode:
authorMichael Brown2015-02-10 00:50:35 +0100
committerMichael Brown2015-02-10 02:14:22 +0100
commit17aceb34da3bad166cab8579a3616806fff8e05b (patch)
treeb5a155eb8dcd66bb06955601bd76b86e27730b23 /src/drivers/usb/xhci.h
parent[usb] Handle CDC union functional descriptors (diff)
downloadipxe-17aceb34da3bad166cab8579a3616806fff8e05b.tar.gz
ipxe-17aceb34da3bad166cab8579a3616806fff8e05b.tar.xz
ipxe-17aceb34da3bad166cab8579a3616806fff8e05b.zip
[usb] Parse endpoint descriptor bInterval field
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb/xhci.h')
-rw-r--r--src/drivers/usb/xhci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/usb/xhci.h b/src/drivers/usb/xhci.h
index 7f768aa0..186ff27d 100644
--- a/src/drivers/usb/xhci.h
+++ b/src/drivers/usb/xhci.h
@@ -806,6 +806,9 @@ enum xhci_endpoint_state {
/** Input endpoint type */
#define XHCI_EP_TYPE_IN XHCI_EP_TYPE ( 4 )
+/** Periodic endpoint type */
+#define XHCI_EP_TYPE_PERIODIC XHCI_EP_TYPE ( 1 )
+
/** Endpoint dequeue cycle state */
#define XHCI_EP_DCS 0x00000001UL
@@ -1078,6 +1081,8 @@ struct xhci_endpoint {
unsigned int ctx;
/** Endpoint type */
unsigned int type;
+ /** Endpoint interval */
+ unsigned int interval;
/** Endpoint context */
struct xhci_endpoint_context *context;
/** Transfer ring */