Changeset 3f3afb9 in mainline for uspace/drv/ohci/hw_struct/endpoint_descriptor.c
- Timestamp:
- 2011-04-11T20:38:37Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1324ff3, a39cfb8
- Parents:
- 58226b4 (diff), d91645ab (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hw_struct/endpoint_descriptor.c
r58226b4 r3f3afb9 42 42 bzero(instance, sizeof(ed_t)); 43 43 if (ep == NULL) { 44 instance->status |= ED_STATUS_K_FLAG;44 instance->status = ED_STATUS_K_FLAG; 45 45 return; 46 46 } … … 53 53 << ED_STATUS_MPS_SHIFT); 54 54 55 55 56 if (ep->speed == USB_SPEED_LOW) 56 57 instance->status |= ED_STATUS_S_FLAG; … … 58 59 instance->status |= ED_STATUS_F_FLAG; 59 60 61 if (ep->toggle) 62 instance->td_head |= ED_TDHEAD_TOGGLE_CARRY; 60 63 } 61 62 64 /** 63 65 * @}
Note:
See TracChangeset
for help on using the changeset viewer.