Changeset 9b2f69e in mainline for uspace/drv/bus/usb/xhci/endpoint.h
- Timestamp:
- 2017-10-15T20:08:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b7db009
- Parents:
- 816f5f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.h
r816f5f4 r9b2f69e 49 49 typedef struct xhci_bus xhci_bus_t; 50 50 51 #define XHCI_DEVICE_MAX_ENDPOINTS 3252 53 51 enum { 54 52 EP_TYPE_INVALID = 0, … … 81 79 82 80 /** All endpoints of the device. Inactive ones are NULL */ 83 xhci_endpoint_t *endpoints[XHCI_ DEVICE_MAX_ENDPOINTS];81 xhci_endpoint_t *endpoints[XHCI_EP_COUNT]; 84 82 85 83 /** Number of non-NULL endpoints. Reference count of sorts. */ 86 84 uint8_t active_endpoint_count; 85 86 /** Need HC to schedule commands from bus callbacks. TODO: Move this elsewhere. */ 87 xhci_hc_t *hc; 88 89 /** Flag indicating whether the device is USB3 (it's USB2 otherwise). */ 90 bool usb3; 87 91 } xhci_device_t; 88 92
Note:
See TracChangeset
for help on using the changeset viewer.