Changeset 2b3dd78 in mainline for uspace/lib/usbdev
- Timestamp:
- 2018-01-31T12:02:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5595841
- Parents:
- a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/usbdev
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/alternate_ifaces.h
ra0a9cc2 r2b3dd78 59 59 typedef struct { 60 60 /** Array of alternate interfaces descriptions. */ 61 constusb_alternate_interface_descriptors_t *alternatives;61 usb_alternate_interface_descriptors_t *alternatives; 62 62 /** Size of @c alternatives array. */ 63 63 size_t alternative_count; -
uspace/lib/usbdev/include/usb/dev/device.h
ra0a9cc2 r2b3dd78 52 52 usb_standard_device_descriptor_t device; 53 53 /** Full configuration descriptor of current configuration. */ 54 constvoid *full_config;54 void *full_config; 55 55 size_t full_config_size; 56 56 } usb_device_descriptors_t; -
uspace/lib/usbdev/include/usb/dev/request.h
ra0a9cc2 r2b3dd78 70 70 void *, size_t, size_t *); 71 71 errno_t usb_request_get_full_configuration_descriptor_alloc(usb_pipe_t *, 72 int, constvoid **, size_t *);72 int, void **, size_t *); 73 73 errno_t usb_request_set_descriptor(usb_pipe_t *, usb_request_type_t, 74 74 usb_request_recipient_t, uint8_t, uint8_t, uint16_t, const void *, size_t); -
uspace/lib/usbdev/src/recognise.c
ra0a9cc2 r2b3dd78 61 61 */ 62 62 static errno_t usb_add_match_id(match_id_list_t *matches, int score, 63 c onst char *match_str)63 char *match_str) 64 64 { 65 65 assert(matches); -
uspace/lib/usbdev/src/request.c
ra0a9cc2 r2b3dd78 475 475 errno_t usb_request_get_full_configuration_descriptor_alloc( 476 476 usb_pipe_t *pipe, int index, 477 constvoid **descriptor_ptr, size_t *descriptor_size)477 void **descriptor_ptr, size_t *descriptor_size) 478 478 { 479 479 errno_t rc;
Note:
See TracChangeset
for help on using the changeset viewer.