Changeset f13381b in mainline for uspace/drv/usbhub/usbhub.c


Ignore:
Timestamp:
2011-04-12T09:14:42Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d017cea
Parents:
9f104af4 (diff), 1324ff3 (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:

Development branch changes

File:
1 edited

Legend:

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

    r9f104af4 rf13381b  
    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.