Changeset a5b3de6 in mainline for uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
- Timestamp:
- 2017-10-25T11:55:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b35478
- Parents:
- c3d926f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
rc3d926f ra5b3de6 40 40 #include <usb/usb.h> 41 41 #include <usb/host/utils/malloc32.h> 42 #include <usb/host/endpoint.h> 43 #include <usb/host/bus.h> 42 44 43 45 #include "mem_access.h" … … 79 81 /* Status: address, endpoint nr, direction mask and max packet size. */ 80 82 OHCI_MEM32_WR(instance->status, 81 ((ep-> target.address & ED_STATUS_FA_MASK) << ED_STATUS_FA_SHIFT)82 | ((ep-> target.endpoint & ED_STATUS_EN_MASK) << ED_STATUS_EN_SHIFT)83 ((ep->device->address & ED_STATUS_FA_MASK) << ED_STATUS_FA_SHIFT) 84 | ((ep->endpoint & ED_STATUS_EN_MASK) << ED_STATUS_EN_SHIFT) 83 85 | ((dir[ep->direction] & ED_STATUS_D_MASK) << ED_STATUS_D_SHIFT) 84 86 | ((ep->max_packet_size & ED_STATUS_MPS_MASK)
Note:
See TracChangeset
for help on using the changeset viewer.