Changeset 047fbc8 in mainline for uspace/drv/bus/usb/xhci/rh.h


Ignore:
Timestamp:
2018-01-25T20:27:21Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a94cbfa
Parents:
629255a
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-25 20:27:16)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-25 20:27:21)
Message:

xhci rh: have standalone buffer for events

File:
1 edited

Legend:

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

    r629255a r047fbc8  
    7373        /* Array of port structures. (size is `max_ports`) */
    7474        rh_port_t *ports;
     75
     76        /* Event ring for roothub */
     77        xhci_sw_ring_t event_ring;
     78
     79        struct {
     80                fibril_mutex_t guard;
     81                fibril_condvar_t cv;
     82                bool active;
     83        } event_fibril_completion;
    7584} xhci_rh_t;
    7685
     
    7887extern int xhci_rh_fini(xhci_rh_t *);
    7988
    80 extern void xhci_rh_handle_port_change(xhci_rh_t *, uint8_t);
    8189extern void xhci_rh_set_ports_protocol(xhci_rh_t *, unsigned, unsigned, unsigned);
    8290extern void xhci_rh_startup(xhci_rh_t *);
Note: See TracChangeset for help on using the changeset viewer.