Changeset 60ac352 in mainline


Ignore:
Timestamp:
2017-08-20T13:41:07Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17f24d9
Parents:
07c08ea
Message:

Better way to detect root hub interrupts.

File:
1 edited

Legend:

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

    r07c08ea r60ac352  
    459459
    460460        /* TODO: Figure out how root hub interrupts work. */
    461         if (status | 1) {
     461        if (status | XHCI_REG_MASK(XHCI_OP_PCD)) {
    462462                usb_log_debug2("Root hub interrupt.");
    463463                xhci_rh_interrupt(&hc->rh);
Note: See TracChangeset for help on using the changeset viewer.