Changeset 97ab321 in mainline for uspace/drv/ohci/iface.c
- Timestamp:
- 2011-04-07T09:53:12Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d41f301
- Parents:
- c4e0b47 (diff), 41c1f7b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/iface.c
rc4e0b47 r97ab321 162 162 address, endpoint, usb_str_transfer_type(transfer_type), 163 163 usb_str_speed(speed), direction, size, max_packet_size, interval); 164 return bandwidth_reserve(&hc->bandwidth, address, endpoint, direction,165 speed, transfer_type, max_packet_size, size, interval);164 // TODO use real endpoint here! 165 return usb_endpoint_manager_register_ep(&hc->ep_manager,NULL, 0); 166 166 } 167 167 /*----------------------------------------------------------------------------*/ … … 183 183 usb_log_debug("Unregister endpoint %d:%d %d.\n", 184 184 address, endpoint, direction); 185 return bandwidth_release(&hc->bandwidth, address, endpoint, direction); 186 187 return ENOTSUP; 185 return usb_endpoint_manager_unregister_ep(&hc->ep_manager, address, 186 endpoint, direction); 188 187 } 189 188 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.