Changeset 4a00bc9 in mainline for uspace/drv/bus/usb/xhci/trb_ring.c
- Timestamp:
- 2018-01-10T13:29:52Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 398a94c
- Parents:
- f92f6b1
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-10 13:28:21)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-10 13:29:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/trb_ring.c
rf92f6b1 r4a00bc9 151 151 if (!next_segment) 152 152 next_segment = list_first(&ring->segments); 153 assert(next_segment); 153 154 154 155 ring->enqueue_segment = list_get_instance(next_segment, trb_segment_t, segments_link); … … 207 208 xhci_trb_t *trb = first_trb; 208 209 for (size_t i = 0; i < trbs; ++i, ++trb) { 209 if ( trb_generates_interrupt(trb)) {210 if (phys && trb_generates_interrupt(trb)) { 210 211 if (*phys) 211 212 return ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.