Changes in uspace/lib/usbdev/src/pipes.c [7fc260ff:8e5ce07] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/pipes.c
r7fc260ff r8e5ce07 56 56 async_exch_t *exch = async_exchange_begin(sess); 57 57 58 /* 59 * We are sending special value as a handle - zero - to get 60 * handle of the parent function (that handle was used 61 * when registering our device @p dev. 62 */ 58 63 sysarg_t address; 59 int rc = async_req_ 1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),60 IPC_M_USB_GET_ MY_ADDRESS, &address);64 int rc = async_req_2_1(exch, DEV_IFACE_ID(USB_DEV_IFACE), 65 IPC_M_USB_GET_ADDRESS, 0, &address); 61 66 62 67 async_exchange_end(exch); … … 75 80 int usb_device_get_assigned_interface(const ddf_dev_t *device) 76 81 { 77 assert(device);78 82 async_sess_t *parent_sess = 79 83 devman_parent_device_connect(EXCHANGE_ATOMIC, device->handle,
Note:
See TracChangeset
for help on using the changeset viewer.