Changeset 7776cb1 in mainline for uspace/drv/bus/usb/xhci/rh.c


Ignore:
Timestamp:
2017-10-03T20:57:02Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c5c9407
Parents:
f8199ab
Message:

Setting correct port number on root hub.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.c

    rf8199ab r7776cb1  
    5656        header->length = sizeof(usb_hub_descriptor_header_t);
    5757        header->descriptor_type = USB_DESCTYPE_HUB;
    58         header->port_count = XHCI_MAX_PORTS;
     58        /* FIXME: Use hcs_params1 and cap to 0x7F */
     59        header->port_count = 0x7F;
    5960        header->characteristics =
    6061                    HUB_CHAR_NO_POWER_SWITCH_FLAG | HUB_CHAR_NO_OC_FLAG;
Note: See TracChangeset for help on using the changeset viewer.