Changeset 998773d in mainline for uspace/drv/bus/usb/xhci/hc.c


Ignore:
Timestamp:
2018-01-22T14:27:24Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
effbef3
Parents:
db51a6a6
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-22 14:11:42)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-22 14:27:24)
Message:

xhci trb_ring: make initial ring size variable

File:
1 edited

Legend:

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

    rdb51a6a6 r998773d  
    262262        hc->dcbaa = hc->dcbaa_dma.virt;
    263263
    264         if ((err = xhci_event_ring_init(&hc->event_ring)))
     264        if ((err = xhci_event_ring_init(&hc->event_ring, 1)))
    265265                goto err_dcbaa;
    266266
     
    494494        XHCI_REG_WR(intr0, XHCI_INTR_ERSTBA_HI, UPPER32(erstptr));
    495495
    496 
    497496        if (irq) {
    498497                XHCI_REG_SET(intr0, XHCI_INTR_IE, 1);
Note: See TracChangeset for help on using the changeset viewer.