Changeset a4e26882 in mainline for uspace/drv/bus/usb/xhci/endpoint.h


Ignore:
Timestamp:
2017-10-22T16:37:44Z (8 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4594baa
Parents:
2c091a6
Message:

Very rudimentary support for device disconnection.

File:
1 edited

Legend:

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

    r2c091a6 ra4e26882  
    9494        /** Flag indicating whether the device is USB3 (it's USB2 otherwise). */
    9595        bool usb3;
     96
     97        /** True if the device can add new endpoints and schedule transfers. */
     98        volatile bool online;
    9699} xhci_device_t;
    97100
    98101int xhci_endpoint_init(xhci_endpoint_t *, xhci_bus_t *);
    99102void xhci_endpoint_fini(xhci_endpoint_t *);
    100 
    101 int xhci_device_init(xhci_device_t *, xhci_bus_t *, usb_address_t);
    102 void xhci_device_fini(xhci_device_t *);
    103103
    104104uint8_t xhci_endpoint_dci(xhci_endpoint_t *);
Note: See TracChangeset for help on using the changeset viewer.