Changeset 230ef1c in mainline for uspace/drv/bus/usb/xhci/rh.h


Ignore:
Timestamp:
2018-01-13T01:34:06Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
837581fd
Parents:
94e9c29
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-13 01:20:57)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-13 01:34:06)
Message:

xhci rh: fixed broken event system

The previous one broke when two events were to be run simultaneously.

File:
1 edited

Legend:

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

    r94e9c29 r230ef1c  
    5858typedef struct hcd_roothub hcd_roothub_t;
    5959typedef struct xhci_bus xhci_bus_t;
     60typedef struct rh_event rh_event_t;
    6061
    6162/* XHCI root hub instance */
     
    7980        fibril_mutex_t event_guard;
    8081        fibril_condvar_t event_ready, event_handled;
    81         unsigned event_readers_waiting, event_readers_to_go;
    82         struct {
    83                 uint8_t port_id;
    84                 uint32_t events;
    85         } event;
     82        unsigned event_readers_waiting;
     83        rh_event_t *event;
    8684} xhci_rh_t;
    8785
Note: See TracChangeset for help on using the changeset viewer.