Changes in uspace/drv/vhc/hub.h [774afaae:0995cd6] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/hub.h

    r774afaae r0995cd6  
    4040
    4141#include "devices.h"
    42 #include "hub/hub.h"
    43 #include "hub/virthub.h"
    4442
    45 extern usbvirt_device_t virtual_hub_device;
     43#define HUB_PORT_COUNT 6
    4644
    47 void virtual_hub_device_init(device_t *);
     45#define BITS2BYTES(bits) \
     46    (bits ? ((((bits)-1)>>3)+1) : 0)
     47
     48extern usbvirt_device_t virthub_dev;
     49
     50void hub_init(device_t *);
     51size_t hub_add_device(virtdev_connection_t *);
     52void hub_remove_device(virtdev_connection_t *);
     53bool hub_can_device_signal(virtdev_connection_t *);
     54void hub_get_port_statuses(char *result, size_t len);
    4855
    4956#endif
Note: See TracChangeset for help on using the changeset viewer.