Changeset b6120d90 in mainline
- Timestamp:
- 2011-01-28T17:32:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b68b7c
- Parents:
- 54229db
- Location:
- uspace/drv/uhci/uhci_struct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/uhci_struct/transfer_descriptor.c
r54229db rb6120d90 14 14 | ((error_count & TD_STATUS_ERROR_COUNT_MASK) << TD_STATUS_ERROR_COUNT_POS) 15 15 | TD_STATUS_ERROR_ACTIVE; 16 17 uhci_print_verbose("Creating status field: %x.\n", instance->status); 16 18 17 19 instance->device = 0 -
uspace/drv/uhci/uhci_struct/transfer_descriptor.h
r54229db rb6120d90 46 46 link_pointer_t next; 47 47 48 uint32_t status;48 volatile uint32_t status; 49 49 50 50 #define TD_STATUS_RESERVED_MASK 0xc000f800 51 51 #define TD_STATUS_SPD_FLAG ( 1 << 29 ) 52 52 #define TD_STATUS_ERROR_COUNT_POS ( 27 ) 53 #define TD_STATUS_ERROR_COUNT_MASK ( 0x 11)53 #define TD_STATUS_ERROR_COUNT_MASK ( 0x3 ) 54 54 #define TD_STATUS_ERROR_COUNT_DEFAULT 3 55 55 #define TD_STATUS_LOW_SPEED_FLAG ( 1 << 26 ) … … 71 71 #define TD_STATUS_ACTLEN_MASK 0x7ff 72 72 73 uint32_t device;73 volatile uint32_t device; 74 74 75 75 #define TD_DEVICE_MAXLEN_POS 21 … … 84 84 #define TD_DEVICE_PID_MASK ( 0xff ) 85 85 86 uint32_t buffer_ptr;86 volatile uint32_t buffer_ptr; 87 87 88 88 /* there is 16 bytes of data available here
Note:
See TracChangeset
for help on using the changeset viewer.