Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2017-11-19T23:43:31Z (4 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master
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/lib/usbhost/include/usb/host/hcd.h

    re76c0ea r306a36d  
    102102}
    103103
     104extern int hcd_get_ep0_max_packet_size(uint16_t *, hcd_t *, device_t *);
     105
    104106extern int hcd_send_batch(hcd_t *, device_t *, usb_target_t,
    105107    usb_direction_t direction, char *, size_t, uint64_t,
Note: See TracChangeset for help on using the changeset viewer.