Changeset 2b61945 in mainline for uspace/drv/bus/usb/xhci/bus.h
- Timestamp:
- 2017-10-22T03:47:41Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e5aea1
- Parents:
- 766043c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.h
r766043c r2b61945 43 43 44 44 typedef struct xhci_hc xhci_hc_t; 45 typedef struct xhci_device xhci_device_t; 45 46 46 47 /** Endpoint management structure */ … … 48 49 bus_t base; /**< Inheritance. Keep this first. */ 49 50 50 /** TODO: some mechanism to keep endpoints alive :) 51 * We may inspire in the usb2_bus, but keep in mind xHCI have much 52 * larger address space, thus simple array of lists for all available 53 * addresses can be just too big. 54 */ 51 xhci_device_t **devices_by_slot; /**< Devices by Slot ID */ 55 52 56 hash_table_t devices; 53 /** TODO: Do we really need this? */ 54 hash_table_t devices; /**< Devices by address */ 57 55 } xhci_bus_t; 58 56 59 int xhci_bus_init(xhci_bus_t * );57 int xhci_bus_init(xhci_bus_t *, xhci_hc_t *); 60 58 void xhci_bus_fini(xhci_bus_t *); 61 59
Note:
See TracChangeset
for help on using the changeset viewer.