Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_endpoint.c

    r0d4b110 r9d58539  
    3232 * @brief OHCI driver
    3333 */
    34 
    35 #include <assert.h>
    36 #include <stdlib.h>
    37 
    3834#include "utils/malloc32.h"
    3935#include "ohci_endpoint.h"
     
    5248        ed_toggle_set(instance->ed, toggle);
    5349}
    54 
     50/*----------------------------------------------------------------------------*/
    5551/** Callback to get value of toggle bit.
    5652 *
     
    6561        return ed_toggle_get(instance->ed);
    6662}
    67 
     63/*----------------------------------------------------------------------------*/
    6864/** Creates new hcd endpoint representation.
    6965 *
     
    9490        endpoint_set_hc_data(
    9591            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);
    9793        return EOK;
    9894}
    99 
     95/*----------------------------------------------------------------------------*/
    10096/** Disposes hcd endpoint structure
    10197 *
     
    108104        assert(ep);
    109105        ohci_endpoint_t *instance = ohci_endpoint_get(ep);
    110         hc_dequeue_endpoint(hcd->driver.data, ep);
     106        hc_dequeue_endpoint(hcd->private_data, ep);
    111107        if (instance) {
    112108                free32(instance->ed);
Note: See TracChangeset for help on using the changeset viewer.