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


Ignore:
Timestamp:
2011-02-11T12:41:11Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d81ef61c
Parents:
78d1525 (diff), 5d4193c (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:

merge from usb/development

File:
1 edited

Legend:

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

    r78d1525 rfe1776c2  
    159159{
    160160        if (dev->vhcd_phone > 0) {
    161                 ipc_hangup(dev->vhcd_phone);
     161                async_hangup(dev->vhcd_phone);
    162162        }
    163163       
     
    173173        virtual_device_t *dev = find_device_by_id(0);
    174174        if (dev == NULL) {
    175                 ipc_answer_0(iid, EINVAL);
     175                async_answer_0(iid, EINVAL);
    176176                printf("Ooops\n");
    177177                return;
     
    220220        }
    221221       
    222         sysarg_t phonehash;
    223         sysarg_t taskhash;
    224         rc = ipc_connect_to_me(hcd_phone, 0, 0, 0, &taskhash, &phonehash);
     222        rc = async_connect_to_me(hcd_phone, 0, 0, 0, callback_connection);
    225223        if (rc != EOK) {
    226224                printf("ipc_connect_to_me() failed\n");
     
    233231        virtual_device->vhcd_phone = hcd_phone;
    234232        virtual_device->id = 0;
    235        
    236         async_new_connection(taskhash, phonehash, 0, NULL, callback_connection);
    237233       
    238234        return EOK;
Note: See TracChangeset for help on using the changeset viewer.