Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 60ac352 in mainline


Ignore:
Timestamp:
2017-08-20T13:41:07Z (3 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
master
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.