Changes in uspace/lib/drv/generic/remote_usb.c [831aa466:a46e56b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usb.c
r831aa466 ra46e56b 77 77 return EBADMEM; 78 78 79 sysarg_t address, depth, speed, handle, iface;79 usb_device_desc_t tmp_desc; 80 80 81 81 const errno_t ret = async_req_1_5(exch, DEV_IFACE_ID(USB_DEV_IFACE), 82 IPC_M_USB_GET_MY_DESCRIPTION, &address, &depth, &speed, &handle, 83 &iface); 84 if (ret == EOK && desc) { 85 *desc = (usb_device_desc_t) { 86 .address = address, 87 .depth = depth, 88 .speed = speed, 89 .handle = handle, 90 .iface = iface, 91 }; 92 } 93 82 IPC_M_USB_GET_MY_DESCRIPTION, 83 (sysarg_t *) &tmp_desc.address, 84 (sysarg_t *) &tmp_desc.depth, 85 (sysarg_t *) &tmp_desc.speed, 86 &tmp_desc.handle, 87 (sysarg_t *) &tmp_desc.iface); 88 if (ret == EOK && desc) 89 *desc = tmp_desc; 94 90 return ret; 95 91 }
Note:
See TracChangeset
for help on using the changeset viewer.