Changeset 306a36d in mainline for uspace/drv/bus/usb/ehci/hc.c


Ignore:
Timestamp:
2017-11-19T23:43:31Z (6 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ff14aede
Parents:
e76c0ea
Message:

xhci: configuration of endpoint 0

Moved fetching of the first 8B of device descriptor from usb2_bus to
hcd, and using it in xhci bus. Also, the value was previously read wrong
by the endpoint descriptor macros, although the value is raw in the
device descriptor - now fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/hc.c

    re76c0ea r306a36d  
    238238        assert(ep);
    239239        ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep);
    240         usb_log_debug("HC(%p) dequeue EP(%d:%d:%s:%s)\n", instance,
    241             ep->device->address, ep->endpoint,
     240        usb_log_debug("HC(%p) dequeue EP(?:%d:%s:%s)\n", instance,
     241            ep->endpoint,
    242242            usb_str_transfer_type_short(ep->transfer_type),
    243243            usb_str_direction(ep->direction));
Note: See TracChangeset for help on using the changeset viewer.