Changeset 24fcb8b in mainline


Ignore:
Timestamp:
2018-01-20T18:50:45Z (6 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45e49e6
Parents:
21885c92
Message:

fix XHCI_SLOT_HUB_SET wrong bit offset

File:
1 edited

Legend:

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

    r21885c92 r24fcb8b  
    131131        xhci_dword_set_bits(&(ctx).data[0], !!val, 25, 25)
    132132#define XHCI_SLOT_HUB_SET(ctx, val) \
    133         xhci_dword_set_bits(&(ctx).data[0], !!val, 25, 25)
     133        xhci_dword_set_bits(&(ctx).data[0], !!val, 26, 26)
    134134#define XHCI_SLOT_CTX_ENTRIES_SET(ctx, val) \
    135135        xhci_dword_set_bits(&(ctx).data[0], val, 31, 27)
Note: See TracChangeset for help on using the changeset viewer.