Changeset 51f0e410 in mainline for uspace/drv/usbmid/usbmid.c


Ignore:
Timestamp:
2011-02-20T17:58:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f56fb7
Parents:
6e6dc7d
Message:

Interface-based matches use also device descriptor

This way it is possible to distinguish generic class drivers and
class drivers for specific device (it allows to mix these drivers
when MID is in use).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmid/usbmid.c

    r6e6dc7d r51f0e410  
    208208        child->ops = &child_device_ops;
    209209
    210         rc = usb_device_create_match_ids_from_interface(interface_descriptor,
     210        rc = usb_device_create_match_ids_from_interface(device_descriptor,
     211            interface_descriptor,
    211212            &child->match_ids);
    212213        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.