Changeset 138a7fd in mainline for uspace/drv/vhc/hub.c


Ignore:
Timestamp:
2010-12-12T17:05:55Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a39f4cf, ecf52c4b
Parents:
c9113d2
Message:

Fixes & improvements in virtual hub

The changes includes:

  • unified (a bit) debugging output
  • port is put into power-off state after SET_CONFIGURATION request
  • less ports on the hub
  • delayed port changes run in separate fibril
  • shorter waiting for transactions in HC scheduling manager
File:
1 edited

Legend:

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

    rc9113d2 r138a7fd  
    144144        .ops = &hub_ops,
    145145        .descriptors = &descriptors,
    146         .lib_debug_level = 4,
     146        .lib_debug_level = 1,
    147147        .lib_debug_enabled_tags = USBVIRT_DEBUGTAG_ALL
    148148};
     
    177177{
    178178        size_t i;
     179       
    179180        for (i = 0; i < HUB_PORT_COUNT; i++) {
    180181                hub_port_t *port = &hub_dev.ports[i];
    181182               
     183                port->index = (int) i;
    182184                port->device = NULL;
    183185                port->state = HUB_PORT_STATE_NOT_CONFIGURED;
Note: See TracChangeset for help on using the changeset viewer.