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


Ignore:
Timestamp:
2018-01-12T22:48:57Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e7380f
Parents:
7242ba21
Message:

xhci: revised roothub event handling

According to the xHCI specification, Port Status Change Event is
generated per port. Also, the PCD bit can be safely ignored. Added
mutual exclusion to roothub event handling to avoid duplicate device
adding.

File:
1 edited

Legend:

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

    r7242ba21 rfb154e13  
    9090const xhci_port_speed_t *xhci_rh_get_port_speed(xhci_rh_t *, uint8_t);
    9191
    92 int xhci_rh_handle_port_status_change_event(xhci_hc_t *, xhci_trb_t *);
    93 void xhci_rh_handle_port_change(xhci_rh_t *);
    94 
    95 int xhci_rh_address_device(xhci_rh_t *rh, device_t *dev, xhci_bus_t *bus);
     92void xhci_rh_handle_port_change(xhci_rh_t *, uint8_t);
    9693
    9794#endif
Note: See TracChangeset for help on using the changeset viewer.