Changeset 668a2e8 in mainline
- Timestamp:
- 2012-02-24T03:30:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd93bb2
- Parents:
- 65eac7b
- Location:
- uspace/drv/bus/usb/ohci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/endpoint_list.c
r65eac7b r668a2e8 162 162 qpos = "NOT FIRST"; 163 163 } 164 assert( (prev_ed->next & ED_NEXT_PTR_MASK) == addr_to_phys(ep->ed));164 assert(ed_next(prev_ed) == addr_to_phys(ep->ed)); 165 165 prev_ed->next = ep->ed->next; 166 166 /* Make sure ED is updated */ -
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h
r65eac7b r668a2e8 177 177 } 178 178 179 static inline uint32_t ed_next(const ed_t *instance) 180 { 181 assert(instance); 182 return OHCI_RD(instance->next) & ED_NEXT_PTR_MASK; 183 } 184 179 185 /** 180 186 * Get toggle bit value stored in this ED
Note:
See TracChangeset
for help on using the changeset viewer.