Changeset 9ff5ff82 in mainline
- Timestamp:
- 2011-04-09T09:10:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c311d5
- Parents:
- 4c28d17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.c
r4c28d17 r9ff5ff82 129 129 assert(instance); 130 130 assert(batch); 131 132 /* check for root hub communication */ 131 133 if (batch->target.address == instance->rh.address) { 132 134 return rh_request(&instance->rh, batch); 133 135 } 136 134 137 transfer_list_add_batch( 135 138 instance->transfers[batch->transfer_type], batch); 139 140 switch (batch->transfer_type) { 141 case USB_TRANSFER_CONTROL: 142 instance->registers->command_status |= CS_CLF; 143 break; 144 case USB_TRANSFER_BULK: 145 instance->registers->command_status |= CS_BLF; 146 break; 147 default: 148 break; 149 } 136 150 return EOK; 137 151 } … … 160 174 usb_transfer_batch_finish(batch); 161 175 } 162 163 /* TODO: Check for further interrupt causes */164 /* TODO: implement */165 176 } 166 177 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.