Changeset 9097c16a in mainline for uspace/lib/usbvirt/src/main.c


Ignore:
Timestamp:
2011-02-04T13:14:14Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
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.
Message:

Merged development

File:
1 edited

Legend:

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

    r11797d5 r9097c16a  
    2727 */
    2828
    29 /** @addtogroup libusbvirt usb
     29/** @addtogroup libusbvirt
    3030 * @{
    3131 */
     
    183183/** Create necessary phones for communication with virtual HCD.
    184184 * This function wraps following calls:
    185  * -# open <code>/dev/devices/\\virt\\usbhc 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
     
    221221       
    222222        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);
    224225        if (rc != EOK) {
    225226                printf("ipc_connect_to_me() failed\n");
     
    233234        virtual_device->id = 0;
    234235       
    235         async_new_connection(phonehash, 0, NULL, callback_connection);
     236        async_new_connection(taskhash, phonehash, 0, NULL, callback_connection);
    236237       
    237238        return EOK;
Note: See TracChangeset for help on using the changeset viewer.