Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/ddfiface.c

    re882e3a r56fd7cf  
    3333 * Implementations of DDF interfaces functions (actual implementation).
    3434 */
     35
    3536#include <devman.h>
    3637#include <async.h>
     
    6768{
    6869        assert(fun);
    69         return usb_get_hc_by_handle(fun->handle, handle);
     70        return usb_get_hc_by_handle(ddf_fun_get_handle(fun), handle);
    7071}
    7172
     
    8182
    8283        if (handle != NULL) {
    83                 *handle = fun->handle;
     84                *handle = ddf_fun_get_handle(fun);
    8485        }
    8586
     
    9899{
    99100        assert(fun);
    100         return usb_get_address_by_handle(fun->handle, address);
     101        return usb_get_address_by_handle(ddf_fun_get_handle(fun), address);
    101102}
    102103
     
    115116    usb_address_t *address)
    116117{
    117         assert(fun);
    118         assert(fun->driver_data);
    119         const usb_hub_attached_device_t *device = fun->driver_data;
     118        const usb_hub_attached_device_t *device = ddf_fun_data_get(fun);
    120119        assert(device->fun == fun);
    121120        if (address)
Note: See TracChangeset for help on using the changeset viewer.