Changeset 9097c16a in mainline for uspace/lib/usbvirt/src/main.c
- Timestamp:
- 2011-02-04T13:14:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e7cdf8
- Parents:
- 11797d5 (diff), ff244e6 (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/usbvirt/src/main.c
r11797d5 r9097c16a 27 27 */ 28 28 29 /** @addtogroup libusbvirt usb29 /** @addtogroup libusbvirt 30 30 * @{ 31 31 */ … … 183 183 /** Create necessary phones for communication with virtual HCD. 184 184 * This function wraps following calls: 185 * -# open <code>/dev/devices/\\virt\\usbhc for reading185 * -# open <code>/dev/devices/\\virt\\usbhc</code> for reading 186 186 * -# access phone of file opened in previous step 187 187 * -# create callback through just opened phone … … 221 221 222 222 sysarg_t phonehash; 223 rc = ipc_connect_to_me(hcd_phone, 0, 0, 0, &phonehash); 223 sysarg_t taskhash; 224 rc = ipc_connect_to_me(hcd_phone, 0, 0, 0, &taskhash, &phonehash); 224 225 if (rc != EOK) { 225 226 printf("ipc_connect_to_me() failed\n"); … … 233 234 virtual_device->id = 0; 234 235 235 async_new_connection( phonehash, 0, NULL, callback_connection);236 async_new_connection(taskhash, phonehash, 0, NULL, callback_connection); 236 237 237 238 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.