Ignore:
File:
1 edited

Legend:

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

    ra35b458 r5a6cc679  
    8686        if (DEV != NULL)
    8787                return ELIMIT;
    88 
     88       
    8989        devman_handle_t handle;
    9090        errno_t rc = devman_fun_get_handle(vhc_path, &handle, 0);
    9191        if (rc != EOK)
    9292                return rc;
    93 
     93       
    9494        async_sess_t *hcd_sess =
    9595            devman_device_connect(handle, 0);
    9696        if (!hcd_sess)
    9797                return ENOMEM;
    98 
     98       
    9999        DEV = dev;
    100100        dev->vhc_sess = hcd_sess;
    101 
     101       
    102102        async_exch_t *exch = async_exchange_begin(hcd_sess);
    103 
     103       
    104104        port_id_t port;
    105105        rc = async_create_callback_port(exch, INTERFACE_USBVIRT_CB, 0, 0,
    106106            callback_connection, NULL, &port);
    107 
     107       
    108108        async_exchange_end(exch);
    109 
     109       
    110110        if (rc != EOK)
    111111                DEV = NULL;
    112 
     112       
    113113        return rc;
    114114}
Note: See TracChangeset for help on using the changeset viewer.