Changeset 1324ff3 in mainline


Ignore:
Timestamp:
2011-04-11T20:40:35Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4deca9b, f13381b
Parents:
d91645ab (diff), 3f3afb9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

forgotten port powering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    rd91645ab r1324ff3  
    247247        for (port = 0; port < hub_info->port_count + 1; port++) {
    248248                usb_hub_port_init(&hub_info->ports[port]);
     249        }
     250        for (port = 0; port < hub_info->port_count; port++) {
     251                opResult = usb_hub_set_port_feature(hub_info->control_pipe,
     252                    port+1, USB_HUB_FEATURE_PORT_POWER);
     253                if (opResult != EOK) {
     254                        usb_log_error("cannot power on port %d;  %d\n",
     255                            port+1, opResult);
     256                }
    249257        }
    250258        usb_log_debug2("freeing data\n");
Note: See TracChangeset for help on using the changeset viewer.