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

Changeset 15f8079 in mainline


Ignore:
Timestamp:
2017-12-20T14:49:10Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
f98f4b7
Parents:
85bf12ba
git-author:
Ondřej Hlavatý <aearsis@…> (2017-12-20 14:46:16)
git-committer:
Ondřej Hlavatý <aearsis@…> (2017-12-20 14:49:10)
Message:

xhci: Program max_slots correctly

File:
1 edited

Legend:

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

    r85bf12ba r15f8079  
    399399        XHCI_REG_WR(hc->op_regs, XHCI_OP_DCBAAP_LO, LOWER32(dcbaaptr));
    400400        XHCI_REG_WR(hc->op_regs, XHCI_OP_DCBAAP_HI, UPPER32(dcbaaptr));
    401         XHCI_REG_WR(hc->op_regs, XHCI_OP_MAX_SLOTS_EN, 0);
     401        XHCI_REG_WR(hc->op_regs, XHCI_OP_MAX_SLOTS_EN, hc->max_slots);
    402402
    403403        uint64_t crptr = xhci_trb_ring_get_dequeue_ptr(&hc->cr.trb_ring);
Note: See TracChangeset for help on using the changeset viewer.