Changeset c6f82e5 in mainline for uspace/drv/bus/usb/ehci/ehci_bus.c
- Timestamp:
- 2018-01-19T20:56:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ec7b7e
- Parents:
- 69b2dfee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_bus.c
r69b2dfee rc6f82e5 43 43 #include "hc.h" 44 44 45 /** Callback to set toggle on ED. 45 /** 46 * Callback to set toggle on ED. 46 47 * 47 48 * @param[in] hcd_ep hcd endpoint structure 48 49 * @param[in] toggle new value of toggle bit 49 50 */ 50 staticvoid ehci_ep_toggle_reset(endpoint_t *ep)51 void ehci_ep_toggle_reset(endpoint_t *ep) 51 52 { 52 53 ehci_endpoint_t *instance = ehci_endpoint_get(ep); … … 54 55 usb_log_warning("EP(%p): Resetting toggle bit for transfer directed EP", instance); 55 56 qh_toggle_set(instance->qh, 0); 56 ep->toggle = 0;57 57 } 58 58 … … 169 169 .interrupt = ehci_hc_interrupt, 170 170 .status = ehci_hc_status, 171 171 172 .endpoint_destroy = ehci_endpoint_destroy, 172 173 .endpoint_create = ehci_endpoint_create, 173 174 .endpoint_register = ehci_register_ep, 174 175 .endpoint_unregister = ehci_unregister_ep, 175 .endpoint_toggle_reset = ehci_ep_toggle_reset,176 176 .endpoint_count_bw = bandwidth_count_usb20, 177 177 178 .batch_create = ehci_create_batch, 178 179 .batch_destroy = ehci_destroy_batch,
Note:
See TracChangeset
for help on using the changeset viewer.