Changeset 189cd4e in mainline


Ignore:
Timestamp:
2011-03-13T23:35:30Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6298d80, c69209d
Parents:
b711f62
Message:

USB device name contains also the address

File:
1 edited

Legend:

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

    rb711f62 r189cd4e  
    374374         * naming etc., something more descriptive could be created.
    375375         */
    376         rc = asprintf(&child_name, "usbdev%02zu", this_device_name_index);
     376        rc = asprintf(&child_name, "usb%02zu_a%d",
     377            this_device_name_index, address);
    377378        if (rc < 0) {
    378379                goto failure;
Note: See TracChangeset for help on using the changeset viewer.