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


Ignore:
Timestamp:
2017-10-21T23:18:09Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b61945
Parents:
5fd9c30
Message:

Keeping track of root hub devices by port id.

File:
1 edited

Legend:

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

    r5fd9c30 r766043c  
    5555typedef struct hcd_roothub hcd_roothub_t;
    5656typedef struct xhci_bus xhci_bus_t;
     57typedef struct xhci_device xhci_device_t;
    5758
    5859/* XHCI root hub instance */
     
    7576        /* Number of hub ports. */
    7677        uint8_t max_ports;
     78
     79        /* Device pointers connected to RH ports or NULL. (size is `max_ports`) */
     80        xhci_device_t **devices;
    7781} xhci_rh_t;
    7882
Note: See TracChangeset for help on using the changeset viewer.