Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/main.c

    r0eddb76 rbd8c753d  
    2727 */
    2828
    29 /** @addtogroup libusbvirt usb
     29/** @addtogroup libusbvirt
    3030 * @{
    3131 */
     
    5050        int vhcd_phone;
    5151        /** Device id. */
    52         ipcarg_t id;
     52        sysarg_t id;
    5353        /** Linked-list member. */
    5454        link_t link;
     
    7878
    7979/** Find virtual device wrapper by its id. */
    80 static virtual_device_t *find_device_by_id(ipcarg_t id)
     80static virtual_device_t *find_device_by_id(sysarg_t id)
    8181{
    8282        if (list_empty(&device_list)) {
     
    183183/** Create necessary phones for communication with virtual HCD.
    184184 * This function wraps following calls:
    185  * -# open <code>/dev/devices/\\vhc</code> for reading
     185 * -# open <code>/dev/devices/\\virt\\usbhc</code> for reading
    186186 * -# access phone of file opened in previous step
    187187 * -# create callback through just opened phone
     
    203203        }
    204204       
    205         const char *vhc_path = "/vhc";
     205        const char *vhc_path = "/virt/usbhc";
    206206        int rc;
    207207        devman_handle_t handle;
     
    220220        }
    221221       
    222         ipcarg_t phonehash;
     222        sysarg_t phonehash;
    223223        rc = ipc_connect_to_me(hcd_phone, 0, 0, 0, &phonehash);
    224224        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.