Changeset 4e732f1a in mainline for uspace/drv/bus/usb
- Timestamp:
- 2014-01-24T02:10:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42de21a
- Parents:
- 3de7a62
- Location:
- uspace/drv/bus/usb
- Files:
-
- 3 edited
-
ehci/hw_struct/queue_head.c (modified) (1 diff)
-
ehci/hw_struct/queue_head.h (modified) (1 diff)
-
ohci/hw_struct/endpoint_descriptor.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/queue_head.c
r3de7a62 r4e732f1a 79 79 } 80 80 81 // TODO Fix 'multi' 1 packet should be safe. Probably won't work82 // without enabling parking mode in async schedule83 81 // TODO Figure out how to correctly use CMASK and SMASK for LS/FS 84 82 // INT transfers. Current values are just guesses 85 /* Setting TT stuff on HS endpoints is OK, the fields are ignored */ 83 /* Setting TT stuff on HS endpoints is OK, the fields are ignored, 84 * and so is setting multi on async (should be 1 anyway)*/ 86 85 EHCI_MEM32_WR(instance->ep_cap, 87 QH_EP_CAP_MULTI_SET( 1) |86 QH_EP_CAP_MULTI_SET(ep->packets) | 88 87 QH_EP_CAP_TT_PORT_SET(ep->tt.port) | 89 88 QH_EP_CAP_TT_ADDR_SET(ep->tt.address) | -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.h
r3de7a62 r4e732f1a 39 39 #include <usb/host/endpoint.h> 40 40 41 #include "../utils/malloc32.h" 41 42 #include "link_pointer.h" 42 43 #include "mem_access.h" -
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
r3de7a62 r4e732f1a 63 63 { 64 64 assert(instance); 65 memset(instance, 0, sizeof( ed_t));65 memset(instance, 0, sizeof(*instance)); 66 66 67 67 if (ep == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
