Changeset 54464f6a in mainline for uspace/lib/usbdev/src/pipes.c
- Timestamp:
- 2011-11-11T19:48:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50a01a9
- Parents:
- c2e50d7 (diff), 747ef72 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/pipes.c
rc2e50d7 r54464f6a 56 56 async_exch_t *exch = async_exchange_begin(sess); 57 57 58 /*59 * We are sending special value as a handle - zero - to get60 * handle of the parent function (that handle was used61 * when registering our device @p dev.62 */63 58 sysarg_t address; 64 int rc = async_req_ 2_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),65 IPC_M_USB_GET_ ADDRESS, 0, &address);59 int rc = async_req_1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE), 60 IPC_M_USB_GET_MY_ADDRESS, &address); 66 61 67 62 async_exchange_end(exch); … … 80 75 int usb_device_get_assigned_interface(const ddf_dev_t *device) 81 76 { 77 assert(device); 82 78 async_sess_t *parent_sess = 83 79 devman_parent_device_connect(EXCHANGE_ATOMIC, device->handle,
Note:
See TracChangeset
for help on using the changeset viewer.