Changeset 4c28d17 in mainline
- Timestamp:
- 2011-04-09T00:28:56Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff5ff82
- Parents:
- f1be95c8
- Location:
- uspace/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.c
rf1be95c8 r4c28d17 132 132 return rh_request(&instance->rh, batch); 133 133 } 134 /* TODO: implement */ 135 return ENOTSUP; 134 transfer_list_add_batch( 135 instance->transfers[batch->transfer_type], batch); 136 return EOK; 136 137 } 137 138 /*----------------------------------------------------------------------------*/ … … 145 146 146 147 usb_log_info("OHCI interrupt: %x.\n", status); 148 149 LIST_INITIALIZE(done); 150 transfer_list_remove_finished(&instance->transfers_interrupt, &done); 151 transfer_list_remove_finished(&instance->transfers_isochronous, &done); 152 transfer_list_remove_finished(&instance->transfers_control, &done); 153 transfer_list_remove_finished(&instance->transfers_bulk, &done); 154 155 while (!list_empty(&done)) { 156 link_t *item = done.next; 157 list_remove(item); 158 usb_transfer_batch_t *batch = 159 list_get_instance(item, usb_transfer_batch_t, link); 160 usb_transfer_batch_finish(batch); 161 } 147 162 148 163 /* TODO: Check for further interrupt causes */ -
uspace/drv/uhci-hcd/hc.c
rf1be95c8 r4c28d17 240 240 usb_log_debug("Initialized device manager.\n"); 241 241 242 ret = 243 usb_endpoint_manager_init(&instance->ep_manager, 244 BANDWIDTH_AVAILABLE_USB11); 242 ret = usb_endpoint_manager_init(&instance->ep_manager, 243 BANDWIDTH_AVAILABLE_USB11); 245 244 assert(ret == EOK); 246 245
Note:
See TracChangeset
for help on using the changeset viewer.