Changeset 17f24d9 in mainline for uspace/drv/bus/usb/xhci/hc.c


Ignore:
Timestamp:
2017-08-20T14:00:35Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c33c40e
Parents:
60ac352
Message:

Discovered correct way of determining RH address.

File:
1 edited

Legend:

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

    r60ac352 r17f24d9  
    369369        /* Check for root hub communication */
    370370        /* FIXME: Zero is a very crude workaround. Detect RH better. */
    371         if (batch->ep->address == 0) {
     371        if (batch->ep->address == xhci_rh_get_address(&hc->rh)) {
    372372                usb_log_debug("XHCI root hub request.\n");
    373373                return xhci_rh_schedule(&hc->rh, batch);
Note: See TracChangeset for help on using the changeset viewer.