Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/hub/virthub.c

    r70e5ad5 r0f21c0c  
    2727 */
    2828
    29 /** @addtogroup usb
     29/** @addtogroup drvusbvhc
    3030 * @{
    3131 */
     
    4141#include <stdlib.h>
    4242#include <driver.h>
    43 #include <usb/usbdrv.h>
    4443
    4544#include "virthub.h"
     
    164163        dev->device_data = hub;
    165164
    166         usbvirt_connect_local(dev);
    167 
    168         return EOK;
     165        int rc;
     166#ifdef STANDALONE_HUB
     167        dev->name = "hub";
     168        rc = usbvirt_connect(dev);
     169#else
     170        rc = usbvirt_connect_local(dev);
     171#endif
     172
     173        return rc;
    169174}
    170175
     
    203208
    204209        hub_acquire(hub);
    205         /* TODO: implement. */
     210        hub_disconnect_device(hub, conn);
    206211        hub_release(hub);
    207212
Note: See TracChangeset for help on using the changeset viewer.