Changeset 984a9ba in mainline for uspace/lib/drv/generic/remote_usb.c
- Timestamp:
- 2018-07-05T09:34:09Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63d46341
- Parents:
- 76f566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usb.c
r76f566d r984a9ba 95 95 } 96 96 97 static void remote_usb_get_my_description(ddf_fun_t *, void *, 98 cap_call_handle_t, ipc_call_t *); 97 static void remote_usb_get_my_description(ddf_fun_t *, void *, ipc_call_t *); 99 98 100 99 /** Remote USB interface operations. */ … … 111 110 112 111 void remote_usb_get_my_description(ddf_fun_t *fun, void *iface, 113 cap_call_handle_t chandle,ipc_call_t *call)112 ipc_call_t *call) 114 113 { 115 114 const usb_iface_t *usb_iface = (usb_iface_t *) iface; 116 115 117 116 if (usb_iface->get_my_description == NULL) { 118 async_answer_0(c handle, ENOTSUP);117 async_answer_0(call, ENOTSUP); 119 118 return; 120 119 } … … 123 122 const errno_t ret = usb_iface->get_my_description(fun, &desc); 124 123 if (ret != EOK) { 125 async_answer_0(c handle, ret);124 async_answer_0(call, ret); 126 125 } else { 127 async_answer_5(c handle, EOK,126 async_answer_5(call, EOK, 128 127 (sysarg_t) desc.address, 129 128 (sysarg_t) desc.depth,
Note:
See TracChangeset
for help on using the changeset viewer.