Changeset 07c08ea in mainline for uspace/drv/bus/usb/xhci/rh.h
- Timestamp:
- 2017-08-20T13:22:44Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60ac352
- Parents:
- d32d51d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/rh.h
rd32d51d r07c08ea 40 40 #include <usbvirt/virthub_base.h> 41 41 42 enum { 43 XHCI_MAX_PORTS = 255, 44 }; 45 42 46 /* XHCI root hub instance */ 43 47 typedef struct { 44 48 /** Virtual hub instance */ 45 49 virthub_base_t base; 50 /** USB hub descriptor describing the XHCI root hub */ 51 struct { 52 usb_hub_descriptor_header_t header; 53 uint8_t rempow[STATUS_BYTES(XHCI_MAX_PORTS) * 2]; 54 } __attribute__((packed)) hub_descriptor; 55 /** Interrupt transfer waiting for an actual interrupt to occur */ 56 usb_transfer_batch_t *unfinished_interrupt_transfer; 46 57 } xhci_rh_t; 47 58 … … 52 63 int xhci_reset_hub_port(xhci_hc_t *, uint8_t); 53 64 int xhci_rh_schedule(xhci_rh_t *, usb_transfer_batch_t *); 65 int xhci_rh_interrupt(xhci_rh_t *); 54 66 55 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.