Changeset 2aaba7e in mainline for uspace/lib/usbhost/src/ddf_helpers.c


Ignore:
Timestamp:
2018-01-20T18:23:39Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
21885c92
Parents:
6271a34
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-20 18:21:06)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-20 18:23:39)
Message:

libusbhost: manage (and report) depth of the device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    r6271a34 r2aaba7e  
    164164
    165165        dev->hub = hub;
     166        dev->tier = hub->tier + 1;
    166167        dev->port = port;
    167168        dev->speed = speed;
     
    242243        *desc = (usb_device_desc_t) {
    243244                .address = dev->address,
     245                .depth = dev->tier,
    244246                .speed = dev->speed,
    245247                .handle = ddf_fun_get_handle(fun),
Note: See TracChangeset for help on using the changeset viewer.