Ignore:
Timestamp:
2017-10-02T16:10:28Z (7 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04df063
Parents:
4688350b
Message:

Extcap fix, not correctly determine if port is USB 2/3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hw_struct/context.h

    r4688350b r370a1c8  
    109109#define XHCI_SLOT_CTX_ENTRIES_SET(ctx, val) \
    110110    xhci_dword_set_bits(&(ctx).data[0], val, 31, 27)
     111#define XHCI_SLOT_ROUTE_STRING_SET(ctx, val) \
     112        xhci_dword_set_bits(&(ctx).data[0], (val & 0xFFFFF), 19, 0)
    111113
    112114#define XHCI_SLOT_ROUTE_STRING(ctx)     XHCI_DWORD_EXTRACT((ctx).data[0], 19,  0)
Note: See TracChangeset for help on using the changeset viewer.