Changeset 1da979d in mainline


Ignore:
Timestamp:
2013-01-05T23:27:39Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6f53811
Parents:
32c2c8f
Message:

vhc: Report no power control and no oc on root hub.

File:
1 edited

Legend:

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

    r32c2c8f r1da979d  
    3434 */
    3535#include <usb/classes/classes.h>
     36#include <usb/classes/hub.h>
    3637#include <usbvirt/device.h>
    3738#include <assert.h>
     
    7778        .type = USB_DESCTYPE_HUB,
    7879        .port_count = HUB_PORT_COUNT,
    79         .characteristics = 0,
     80        .characteristics = HUB_CHAR_NO_POWER_SWITCH_FLAG | HUB_CHAR_NO_OC_FLAG,
    8081        .power_on_warm_up = 50, /* Huh? */
    8182        .max_current = 100, /* Huh again. */
Note: See TracChangeset for help on using the changeset viewer.