Changeset 9efad54 in mainline for uspace/drv/bus/usb/xhci/bus.c
- Timestamp:
- 2018-01-06T21:15:48Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56257ba
- Parents:
- c901632
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.c
rc901632 r9efad54 51 51 52 52 /** Initial descriptor used for control endpoint 0 before more configuration is retrieved. */ 53 static const usb_endpoint_desc_t ep0_initial_desc = { 54 .endpoint_no = 0, 55 .direction = USB_DIRECTION_BOTH, 56 .transfer_type = USB_TRANSFER_CONTROL, 57 .max_packet_size = CTRL_PIPE_MIN_PACKET_SIZE, 58 .packets = 1, 53 static const usb_endpoint_descriptors_t ep0_initial_desc = { 54 .endpoint.max_packet_size = CTRL_PIPE_MIN_PACKET_SIZE, 59 55 }; 60 56 61 static endpoint_t *endpoint_create(device_t *, const usb_endpoint_desc _t *);57 static endpoint_t *endpoint_create(device_t *, const usb_endpoint_descriptors_t *); 62 58 63 59 /** Assign address and control endpoint to a new XHCI device. … … 368 364 } 369 365 370 static endpoint_t *endpoint_create(device_t *dev, const usb_endpoint_desc _t *desc)366 static endpoint_t *endpoint_create(device_t *dev, const usb_endpoint_descriptors_t *desc) 371 367 { 372 368 xhci_endpoint_t *ep = calloc(1, sizeof(xhci_endpoint_t));
Note:
See TracChangeset
for help on using the changeset viewer.