Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c1a966e in mainline


Ignore:
Timestamp:
2018-01-15T16:33:20Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
a1732929
Parents:
8a98e4a
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-15 16:31:55)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-15 16:33:20)
Message:

usbhost usb2_bus: assign roothub address 127

File:
1 edited

Legend:

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

    r8a98e4a rc1a966e  
    266266
    267267        bus->free_bw = available_bandwidth;
     268
     269        /*
     270         * The first address allocated is for the roothub. This way, its
     271         * address will be 127, and the first connected USB device will have
     272         * address 1.
     273         */
     274        bus->last_address = USB_ADDRESS_COUNT - 2;
    268275}
    269276
Note: See TracChangeset for help on using the changeset viewer.