Changeset 57e06ef in mainline for uspace/drv/bus/usb/ohci/ohci_endpoint.c
- Timestamp:
- 2011-10-28T22:19:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2fd1f0c6
- Parents:
- 48ae3ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_endpoint.c
r48ae3ef r57e06ef 65 65 * 66 66 * @param[in] ep USBD endpoint structure 67 * @return pointer to a new hcd endpoint structure, NULL on failure.67 * @return Error code. 68 68 */ 69 69 int ohci_endpoint_init(hcd_t *hcd, endpoint_t *ep) … … 90 90 endpoint_set_hc_data( 91 91 ep, ohci_ep, ohci_ep_toggle_get, ohci_ep_toggle_set); 92 ohci_ep->hcd = hcd;93 92 hc_enqueue_endpoint(hcd->private_data, ep); 94 93 return EOK; … … 97 96 /** Disposes hcd endpoint structure 98 97 * 99 * @param[in] hcd_ep endpoint structure 98 * @param[in] hcd driver using this instance. 99 * @param[in] ep endpoint structure. 100 100 */ 101 101 void ohci_endpoint_fini(hcd_t *hcd, endpoint_t *ep)
Note:
See TracChangeset
for help on using the changeset viewer.