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

Changeset d0db4a0 in mainline


Ignore:
Timestamp:
2017-10-12T15:45:45Z (3 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
master
Children:
fc0271a5
Parents:
add878aa
Message:

Doorbell target fix

File:
1 edited

Legend:

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

    radd878aa rd0db4a0  
    257257        list_append(&transfer->link, &hc->transfers);
    258258
    259         /* For control transfers, the target is always 1. */
    260         hc_ring_doorbell(hc, slot_id, 1);
     259        // TODO: target = endpoint | stream_id << 16
     260        hc_ring_doorbell(hc, slot_id, xhci_ep->base->target->endpoint);
    261261        return EOK;
    262262}
Note: See TracChangeset for help on using the changeset viewer.