Changes in uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c [acdb5bac:dd7078c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
racdb5bac rdd7078c 33 33 */ 34 34 #include "endpoint_descriptor.h" 35 #include "macros.h" 35 36 36 37 /** USB direction to OHCI values translation table. */ … … 61 62 return; 62 63 } 63 /* Non-dummy ED must have TD assigned */64 /* Non-dummy ED must have corresponding EP and TD assigned */ 64 65 assert(td); 66 assert(ep); 67 assert(ep->direction < ARRAY_SIZE(dir)); 65 68 66 69 /* Status: address, endpoint nr, direction mask and max packet size. */ … … 77 80 78 81 /* Isochronous format flag */ 82 // TODO: We need iTD instead of TD for iso transfers 79 83 if (ep->transfer_type == USB_TRANSFER_ISOCHRONOUS) 80 84 OHCI_MEM32_SET(instance->status, ED_STATUS_F_FLAG);
Note:
See TracChangeset
for help on using the changeset viewer.