Changeset f76153ce in mainline for uspace/drv/usbhid/subdrivers.h


Ignore:
Timestamp:
2011-04-10T17:57:23Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1cbb4b7
Parents:
62bd8d3
Message:

Subdriver initialization.

  • Function for finding proper subdrivers (matching only based on usage path, no IDs yet).
  • Fixed setting generic HID subdriver.
  • Major changes to usb_hid_init(): fallback to boot protocol happens if:
    • the Report descriptor cannot be parsed, or
    • there is no subdriver found for the Report
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/subdrivers.h

    r62bd8d3 rf76153ce  
    4949/*----------------------------------------------------------------------------*/
    5050
     51/* TODO: This mapping must contain some other information to get the proper
     52 *       interface.
     53 */
    5154typedef struct usb_hid_subdriver_mapping {
    5255        const usb_hid_subdriver_usage_t *usage_path;
     56        int path_size;
    5357        int compare;
    5458        const char *vendor_id;
Note: See TracChangeset for help on using the changeset viewer.