Changes in uspace/lib/drv/generic/remote_usbhc.c [6f04905:4689d40] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r6f04905 r4689d40 55 55 static void remote_usbhc_release_default_address(device_t *, void *, ipc_callid_t, ipc_call_t *); 56 56 static void remote_usbhc_request_address(device_t *, void *, ipc_callid_t, ipc_call_t *); 57 static void remote_usbhc_bind_address(device_t *, void *, ipc_callid_t, ipc_call_t *); 57 58 static void remote_usbhc_release_address(device_t *, void *, ipc_callid_t, ipc_call_t *); 58 59 //static void remote_usbhc(device_t *, void *, ipc_callid_t, ipc_call_t *); … … 68 69 69 70 remote_usbhc_request_address, 71 remote_usbhc_bind_address, 70 72 remote_usbhc_release_address, 71 73 … … 197 199 ipc_answer_1(callid, EOK, (ipcarg_t) address); 198 200 } 201 } 202 203 void remote_usbhc_bind_address(device_t *device, void *iface, 204 ipc_callid_t callid, ipc_call_t *call) 205 { 206 usbhc_iface_t *usb_iface = (usbhc_iface_t *) iface; 207 208 if (!usb_iface->bind_address) { 209 ipc_answer_0(callid, ENOTSUP); 210 return; 211 } 212 213 usb_address_t address = (usb_address_t) IPC_GET_ARG1(*call); 214 devman_handle_t handle = (devman_handle_t) IPC_GET_ARG2(*call); 215 216 int rc = usb_iface->bind_address(device, address, handle); 217 218 ipc_answer_0(callid, rc); 199 219 } 200 220
Note:
See TracChangeset
for help on using the changeset viewer.