Changeset 1d5a540 in mainline for uspace/lib/usb/src/ddfiface.c


Ignore:
Timestamp:
2012-08-17T11:52:20Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
034c4202
Parents:
8312577 (diff), 56fd7cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge DDF interface tightening.

File:
1 edited

Legend:

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

    r8312577 r1d5a540  
    6868{
    6969        assert(fun);
    70         return usb_get_hc_by_handle(fun->handle, handle);
     70        return usb_get_hc_by_handle(ddf_fun_get_handle(fun), handle);
    7171}
    7272
     
    8282
    8383        if (handle != NULL) {
    84                 *handle = fun->handle;
     84                *handle = ddf_fun_get_handle(fun);
    8585        }
    8686
     
    9999{
    100100        assert(fun);
    101         return usb_get_address_by_handle(fun->handle, address);
     101        return usb_get_address_by_handle(ddf_fun_get_handle(fun), address);
    102102}
    103103
     
    116116    usb_address_t *address)
    117117{
    118         assert(fun);
    119         assert(fun->driver_data);
    120         const usb_hub_attached_device_t *device = fun->driver_data;
     118        const usb_hub_attached_device_t *device = ddf_fun_data_get(fun);
    121119        assert(device->fun == fun);
    122120        if (address)
Note: See TracChangeset for help on using the changeset viewer.