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