Changes in uspace/lib/drv/generic/remote_usbhc.c [4689d40:6f04905] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r4689d40 r6f04905 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 *);58 57 static void remote_usbhc_release_address(device_t *, void *, ipc_callid_t, ipc_call_t *); 59 58 //static void remote_usbhc(device_t *, void *, ipc_callid_t, ipc_call_t *); … … 69 68 70 69 remote_usbhc_request_address, 71 remote_usbhc_bind_address,72 70 remote_usbhc_release_address, 73 71 … … 199 197 ipc_answer_1(callid, EOK, (ipcarg_t) address); 200 198 } 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);219 199 } 220 200
Note:
See TracChangeset
for help on using the changeset viewer.