Changeset 5c830587 in mainline
- Timestamp:
- 2014-01-26T07:16:47Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 329c0ee
- Parents:
- 40687f2
- Location:
- uspace/drv/bus/usb/ehci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_batch.c
r40687f2 r5c830587 189 189 ehci_batch->qh->next, ehci_batch->qh->alternate); 190 190 191 if (!qh_halted(ehci_batch->qh) && qh_transfer_pending(ehci_batch->qh)) 191 if (!qh_halted(ehci_batch->qh) && (qh_transfer_pending(ehci_batch->qh) 192 || qh_transfer_active(ehci_batch->qh))) 192 193 return false; 193 194 -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.h
r40687f2 r5c830587 198 198 } 199 199 200 static inline bool qh_transfer_active(const qh_t *qh) 201 { 202 assert(qh); 203 return (EHCI_MEM32_RD(qh->status) & QH_STATUS_ACTIVE_FLAG); 204 } 205 200 206 static inline bool qh_transfer_pending(const qh_t *qh) 201 207 {
Note:
See TracChangeset
for help on using the changeset viewer.