Changeset d2c3dcd in mainline for uspace/drv/bus/usb/xhci/commands.h


Ignore:
Timestamp:
2018-01-15T20:48:54Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4e84ed6
Parents:
309d9865
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-15 20:45:08)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-15 20:48:54)
Message:

xhci commands: wait if the ring is full

File:
1 edited

Legend:

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

    r309d9865 rd2c3dcd  
    7373        XHCI_CR_STATE_OPEN,             /**< Commands are enqueued normally. */
    7474        XHCI_CR_STATE_CHANGING,         /**< Commands wait until state changes. */
    75 } xhci_cr_state;
     75        XHCI_CR_STATE_FULL,             /**< Commands wait until something completes. */
     76} xhci_cr_state_t;
    7677
    7778typedef struct xhci_command_ring {
     
    8182        list_t cmd_list;
    8283
    83         xhci_cr_state state;            /**< Whether commands are allowed to be
     84        xhci_cr_state_t state;          /**< Whether commands are allowed to be
    8485                                             added. */
    8586        fibril_condvar_t state_cv;      /**< For waiting on CR state change. */
Note: See TracChangeset for help on using the changeset viewer.