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


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.c

    r62bd8d3 rf76153ce  
    4141        {
    4242                path_kbd,
     43                1,
    4344                USB_HID_PATH_COMPARE_END
    4445                | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,
     
    5354               
    5455        },
    55         {NULL, 0, NULL, NULL, {NULL, NULL, NULL, NULL}}
     56        {NULL, 0, 0, NULL, NULL, {NULL, NULL, NULL, NULL}}
    5657};
    5758
Note: See TracChangeset for help on using the changeset viewer.