Changeset d09791e6 in mainline for uspace/lib/usbhost/src


Ignore:
Timestamp:
2012-12-20T15:40:23Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a720ff6
Parents:
d9b2c73
Message:

libusb: Add additional parameter to hcd_setup_device.

uhci will need to know hc function handle.

File:
1 edited

Legend:

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

    rd9b2c73 rd09791e6  
    307307 *  - registers interrupt handler
    308308 */
    309 int hcd_setup_device(ddf_dev_t *device)
     309int hcd_setup_device(ddf_dev_t *device, ddf_fun_t **hc_fun)
    310310{
    311311        if (device == NULL)
     
    355355
    356356        /* HC should be ok at this point (except it can't do anything) */
     357        if (hc_fun)
     358                *hc_fun = instance->hc_fun;
    357359
    358360        return EOK;
Note: See TracChangeset for help on using the changeset viewer.