Changeset 56db65d in mainline for uspace/lib/usbhost/src/ddf_helpers.c
- Timestamp:
- 2017-10-24T11:06:32Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0206d35
- Parents:
- 894f58c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/ddf_helpers.c
r894f58c r56db65d 98 98 assert(dev); 99 99 100 const size_t size = endpoint_desc->max_packet_size;101 102 100 usb_log_debug("Register endpoint %d:%d %s-%s %zuB %ums.\n", 103 101 dev->address, endpoint_desc->endpoint_no, … … 106 104 endpoint_desc->max_packet_size, endpoint_desc->usb2.polling_interval); 107 105 108 // FIXME: we now have max_streams and max_burst in endpoint_desc->usb3 struct 109 // Hand it down to XHCI, refactor, whatever 110 111 return bus_add_ep(hcd->bus, dev, endpoint_desc->endpoint_no, 112 endpoint_desc->direction, endpoint_desc->transfer_type, 113 endpoint_desc->max_packet_size, endpoint_desc->packets, 114 size); 106 return bus_add_ep(hcd->bus, dev, endpoint_desc); 115 107 } 116 108
Note:
See TracChangeset
for help on using the changeset viewer.