Changeset f9b2cb4c in mainline for uspace/lib/usbvirt/src/device.c


Ignore:
Timestamp:
2015-08-23T12:50:23Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ef495f
Parents:
0dd16778
Message:

unify interface API

  • introduce new interfaces
  • unify location service clients to always expect service ID as the second argument
  • remove obsolete methods that take explicit exchange management arguments (first phase)
  • use interfaces in device drivers, devman, location service, logger, inet
File:
1 edited

Legend:

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

    r0dd16778 rf9b2cb4c  
    9393       
    9494        async_sess_t *hcd_sess =
    95             devman_device_connect(EXCHANGE_SERIALIZE, handle, 0);
     95            devman_device_connect(handle, 0);
    9696        if (!hcd_sess)
    9797                return ENOMEM;
     
    101101       
    102102        async_exch_t *exch = async_exchange_begin(hcd_sess);
    103         rc = async_connect_to_me(exch, 0, 0, 0, callback_connection, NULL);
     103       
     104        port_id_t port;
     105        rc = async_create_callback_port(exch, INTERFACE_USBVIRT_CB, 0, 0,
     106            callback_connection, NULL, &port);
     107       
    104108        async_exchange_end(exch);
    105109       
Note: See TracChangeset for help on using the changeset viewer.