Changeset f959a20f in mainline for uspace/drv/bus/usb/uhci/transfer_list.c
- Timestamp:
- 2019-02-01T22:32:38Z (6 years ago)
- Children:
- 00b7fc8
- Parents:
- 1a37496
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 21:22:39)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 22:32:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
r1a37496 rf959a20f 233 233 const char *qpos = "FIRST"; 234 234 qh_t *prev_qh = instance->queue_head; 235 link_t *prev = list_prev(&uhci_batch->link, &instance->batch_list); 235 236 /* Remove from the hardware queue */ 236 if ( list_first(&instance->batch_list) != &uhci_batch->link) {237 if (prev) { 237 238 /* There is a batch in front of me */ 238 prev_qh = 239 uhci_transfer_batch_from_link(uhci_batch->link.prev)->qh; 239 prev_qh = uhci_transfer_batch_from_link(prev)->qh; 240 240 qpos = "NOT FIRST"; 241 241 }
Note:
See TracChangeset
for help on using the changeset viewer.