Changeset 07c08ea in mainline for uspace/drv/bus/usb/xhci/hc.c


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

Basic virtual implementation for the root hub.

File:
1 edited

Legend:

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

    rd32d51d r07c08ea  
    458458        status = hc->op_regs->usbsts;
    459459
     460        /* TODO: Figure out how root hub interrupts work. */
     461        if (status | 1) {
     462                usb_log_debug2("Root hub interrupt.");
     463                xhci_rh_interrupt(&hc->rh);
     464        }
     465
    460466        if (status & XHCI_REG_MASK(XHCI_OP_HSE)) {
    461467                usb_log_error("Host controller error occured. Bad things gonna happen...");
Note: See TracChangeset for help on using the changeset viewer.