Changeset 56db65d in mainline for uspace/lib/usbhost/include/usb/host/bus.h
- Timestamp:
- 2017-10-24T11:06:32Z (6 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/include/usb/host/bus.h
r894f58c r56db65d 83 83 84 84 endpoint_t *(*create_endpoint)(bus_t *); 85 int (*register_endpoint)(bus_t *, endpoint_t * );85 int (*register_endpoint)(bus_t *, endpoint_t *, const usb_endpoint_desc_t *); 86 86 int (*unregister_endpoint)(bus_t *, endpoint_t *); 87 87 endpoint_t *(*find_endpoint)(bus_t *, device_t*, usb_target_t, usb_direction_t); … … 117 117 int device_init(device_t *); 118 118 119 extern int bus_add_ep(bus_t *bus, device_t *device, usb_endpoint_t endpoint, 120 usb_direction_t dir, usb_transfer_type_t type, size_t max_packet_size, 121 unsigned packets, size_t size); 119 extern int bus_add_ep(bus_t *, device_t *, const usb_endpoint_desc_t *); 122 120 extern int bus_remove_ep(bus_t *, device_t *, usb_target_t, usb_direction_t); 123 121 … … 128 126 129 127 endpoint_t *bus_create_endpoint(bus_t *); 130 int bus_register_endpoint(bus_t *, endpoint_t * );128 int bus_register_endpoint(bus_t *, endpoint_t *, const usb_endpoint_desc_t *); 131 129 int bus_unregister_endpoint(bus_t *, endpoint_t *); 132 130 endpoint_t *bus_find_endpoint(bus_t *, device_t *, usb_target_t, usb_direction_t);
Note:
See TracChangeset
for help on using the changeset viewer.