Changeset 944f8fdd in mainline for uspace/drv/bus/usb/xhci/bus.c


Ignore:
Timestamp:
2018-01-19T17:38:22Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2833bb4
Parents:
861b5d6
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
Message:

libusbhost: move utility functions to new header utility.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/bus.c

    r861b5d6 r944f8fdd  
    3636#include <usb/host/endpoint.h>
    3737#include <usb/host/hcd.h>
     38#include <usb/host/utility.h>
    3839#include <usb/descriptor.h>
    3940#include <usb/debug.h>
     
    113114
    114115        uint16_t max_packet_size;
    115         if ((err = hcd_get_ep0_max_packet_size(&max_packet_size, (bus_t *) &hc->bus, &dev->base)))
     116        if ((err = hc_get_ep0_max_packet_size(&max_packet_size, (bus_t *) &hc->bus, &dev->base)))
    116117                return err;
    117118
     
    184185
    185186        /* Read the device descriptor, derive the match ids */
    186         if ((err = hcd_device_explore(dev))) {
     187        if ((err = hc_device_explore(dev))) {
    187188                usb_log_error("Device(%d): Failed to explore device: %s", dev->address, str_error(err));
    188189                goto err_address;
Note: See TracChangeset for help on using the changeset viewer.