Changes in uspace/lib/usbvirt/src/main.c [0eddb76:bd8c753d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/main.c
r0eddb76 rbd8c753d 27 27 */ 28 28 29 /** @addtogroup libusbvirt usb29 /** @addtogroup libusbvirt 30 30 * @{ 31 31 */ … … 50 50 int vhcd_phone; 51 51 /** Device id. */ 52 ipcarg_t id;52 sysarg_t id; 53 53 /** Linked-list member. */ 54 54 link_t link; … … 78 78 79 79 /** Find virtual device wrapper by its id. */ 80 static virtual_device_t *find_device_by_id( ipcarg_t id)80 static virtual_device_t *find_device_by_id(sysarg_t id) 81 81 { 82 82 if (list_empty(&device_list)) { … … 183 183 /** Create necessary phones for communication with virtual HCD. 184 184 * This function wraps following calls: 185 * -# open <code>/dev/devices/\\v hc</code> 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 … … 203 203 } 204 204 205 const char *vhc_path = "/v hc";205 const char *vhc_path = "/virt/usbhc"; 206 206 int rc; 207 207 devman_handle_t handle; … … 220 220 } 221 221 222 ipcarg_t phonehash;222 sysarg_t phonehash; 223 223 rc = ipc_connect_to_me(hcd_phone, 0, 0, 0, &phonehash); 224 224 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.