Changeset 1e70157 in mainline for uspace/drv/uhci-hcd/endpoint.h
- Timestamp:
- 2011-04-06T19:52:17Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8dc762e0
- Parents:
- fb8927d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/endpoint.h
rfb8927d r1e70157 41 41 #include <usb/usb.h> 42 42 43 #include "hw_struct/queue_head.h" 44 43 45 typedef struct endpoint { 44 46 link_t same_device_eps; … … 48 50 bool active; 49 51 int toggle:1; 52 qh_t *qh; 50 53 } endpoint_t; 51 54 52 voidendpoint_init(endpoint_t *instance, usb_transfer_type_t transfer_type,55 int endpoint_init(endpoint_t *instance, usb_transfer_type_t transfer_type, 53 56 usb_speed_t speed, size_t max_packet_size); 54 57 55 void endpoint_destroy(void *instance); 58 void endpoint_destroy(void *ep); 59 60 void endpoint_toggle_reset(link_t *ep); 56 61 57 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.