Changeset 0cfb05e in mainline
- Timestamp:
- 2011-12-14T21:17:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8a01a0b
- Parents:
- e285656
- Location:
- uspace/lib/usbdev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/driver.h
re285656 r0cfb05e 173 173 void usb_device_release_descriptors(usb_device_descriptors_t *); 174 174 175 int usb_device_create_pipes( const ddf_dev_t *,usb_device_connection_t *,175 int usb_device_create_pipes(usb_device_connection_t *, 176 176 const usb_endpoint_description_t **, const uint8_t *, size_t, int, int, 177 177 usb_endpoint_mapping_t **, size_t *); -
uspace/lib/usbdev/src/devdrv.c
re285656 r0cfb05e 110 110 size_t pipes_count; 111 111 112 int rc = usb_device_create_pipes( dev->ddf_dev,&dev->wire, endpoints,112 int rc = usb_device_create_pipes(&dev->wire, endpoints, 113 113 dev->descriptors.configuration, dev->descriptors.configuration_size, 114 114 dev->interface_no, alternate_setting, &pipes, &pipes_count); … … 333 333 * @return Error code. 334 334 */ 335 int usb_device_create_pipes( const ddf_dev_t *dev,usb_device_connection_t *wire,335 int usb_device_create_pipes(usb_device_connection_t *wire, 336 336 const usb_endpoint_description_t **endpoints, 337 337 const uint8_t *config_descr, size_t config_descr_size, … … 339 339 usb_endpoint_mapping_t **pipes_ptr, size_t *pipes_count_ptr) 340 340 { 341 assert(dev != NULL);342 341 assert(wire != NULL); 343 342 assert(endpoints != NULL);
Note:
See TracChangeset
for help on using the changeset viewer.