Changeset fdaaad00 in mainline
- Timestamp:
- 2014-01-24T20:49:26Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa9656b0
- Parents:
- 296fcce
- Location:
- uspace/drv/bus/usb/ehci
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/endpoint_list.c
r296fcce rfdaaad00 68 68 fibril_mutex_initialize(&instance->guard); 69 69 return EOK; 70 } 71 72 void endpoint_list_chain(endpoint_list_t *instance, const endpoint_list_t *next) 73 { 74 assert(instance); 75 assert(next); 76 assert(instance->list_head); 77 assert(next->list_head); 78 79 instance->list_head->horizontal = LINK_POINTER_QH(next->list_head_pa); 70 80 } 71 81 -
uspace/drv/bus/usb/ehci/endpoint_list.h
r296fcce rfdaaad00 73 73 74 74 int endpoint_list_init(endpoint_list_t *instance, const char *name); 75 void endpoint_list_chain(endpoint_list_t *instance, const endpoint_list_t *next); 75 76 void endpoint_list_append_ep(endpoint_list_t *instance, ehci_endpoint_t *ep); 76 77 void endpoint_list_remove_ep(endpoint_list_t *instance, ehci_endpoint_t *ep); -
uspace/drv/bus/usb/ehci/hc.c
r296fcce rfdaaad00 407 407 return ret; 408 408 } 409 /* Loop async list */ 410 endpoint_list_chain(&instance->async_list, &instance->async_list); 409 411 410 412 /* Take 1024 periodic list heads, we ignore low mem options */
Note:
See TracChangeset
for help on using the changeset viewer.