Changes in uspace/drv/bus/usb/ohci/ohci_endpoint.c [0d4b110:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_endpoint.c
r0d4b110 r9d58539 32 32 * @brief OHCI driver 33 33 */ 34 35 #include <assert.h>36 #include <stdlib.h>37 38 34 #include "utils/malloc32.h" 39 35 #include "ohci_endpoint.h" … … 52 48 ed_toggle_set(instance->ed, toggle); 53 49 } 54 50 /*----------------------------------------------------------------------------*/ 55 51 /** Callback to get value of toggle bit. 56 52 * … … 65 61 return ed_toggle_get(instance->ed); 66 62 } 67 63 /*----------------------------------------------------------------------------*/ 68 64 /** Creates new hcd endpoint representation. 69 65 * … … 94 90 endpoint_set_hc_data( 95 91 ep, ohci_ep, ohci_ep_toggle_get, ohci_ep_toggle_set); 96 hc_enqueue_endpoint(hcd-> driver.data, ep);92 hc_enqueue_endpoint(hcd->private_data, ep); 97 93 return EOK; 98 94 } 99 95 /*----------------------------------------------------------------------------*/ 100 96 /** Disposes hcd endpoint structure 101 97 * … … 108 104 assert(ep); 109 105 ohci_endpoint_t *instance = ohci_endpoint_get(ep); 110 hc_dequeue_endpoint(hcd-> driver.data, ep);106 hc_dequeue_endpoint(hcd->private_data, ep); 111 107 if (instance) { 112 108 free32(instance->ed);
Note:
See TracChangeset
for help on using the changeset viewer.