summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/device/xhci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/device/xhci.h b/src/include/device/xhci.h
index 861bf22d42..c984450b91 100644
--- a/src/include/device/xhci.h
+++ b/src/include/device/xhci.h
@@ -94,6 +94,19 @@ struct xhci_usb_info {
uint32_t num_usb3_ports;
};
+struct xhci_capability_regs {
+ uint8_t caplength;
+ uint8_t reserved0;
+ uint16_t hciversion;
+ uint32_t hcsparams1;
+ uint32_t hcsparams2;
+ uint32_t hcsparams3;
+ uint32_t hccparams1;
+ uint32_t dboff;
+ uint32_t rtsoff;
+ uint32_t hccparams2;
+} __packed;
+
/**
* Iterates over the xHCI Extended Capabilities List.
*/