Changeset 51c1d500 in mainline for uspace/drv/bus/usb/xhci/isoch.c


Ignore:
Timestamp:
2018-01-20T17:16:33Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6271a34
Parents:
abb5d08
Message:

xhci: move HC semantics from endpoint/device to hc module

File:
1 edited

Legend:

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

    rabb5d08 r51c1d500  
    347347out:
    348348        if (fed) {
    349                 const uint8_t slot_id = xhci_device_get(ep->base.device)->slot_id;
    350                 const uint8_t target = xhci_endpoint_index(ep) + 1; /* EP Doorbells start at 1 */
    351                 hc_ring_doorbell(hc, slot_id, target);
     349                hc_ring_ep_doorbell(ep, 0);
    352350                /* The ring may be dead. If no event happens until the delay, reset the endpoint. */
    353351                timer_schedule_reset(ep);
     
    436434
    437435        if (fed) {
    438                 const uint8_t slot_id = xhci_device_get(ep->base.device)->slot_id;
    439                 const uint8_t target = xhci_endpoint_index(ep) + 1; /* EP Doorbells start at 1 */
    440                 hc_ring_doorbell(hc, slot_id, target);
     436                hc_ring_ep_doorbell(ep, 0);
    441437                /* The ring may be dead. If no event happens until the delay, reset the endpoint. */
    442438                timer_schedule_reset(ep);
Note: See TracChangeset for help on using the changeset viewer.