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


Ignore:
Timestamp:
2011-02-04T20:56:52Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0397e5a4, e29e09cf
Parents:
e778543 (diff), 0b37882 (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 mainline changes

File:
1 edited

Legend:

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

    re778543 r17aca1c  
    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.