mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[usb] Parse endpoint descriptor bInterval field
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user