Ignore:
File:
1 edited

Legend:

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

    r0f21c0c r70e5ad5  
    2727 */
    2828
    29 /** @addtogroup drvusbvhc
     29/** @addtogroup usb
    3030 * @{
    3131 */
     
    4141#include <stdlib.h>
    4242#include <driver.h>
     43#include <usb/usbdrv.h>
    4344
    4445#include "virthub.h"
     
    163164        dev->device_data = hub;
    164165
    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;
     166        usbvirt_connect_local(dev);
     167
     168        return EOK;
    174169}
    175170
     
    208203
    209204        hub_acquire(hub);
    210         hub_disconnect_device(hub, conn);
     205        /* TODO: implement. */
    211206        hub_release(hub);
    212207
Note: See TracChangeset for help on using the changeset viewer.