summaryrefslogtreecommitdiff
path: root/src/sys/include/io/usb/xhcivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/io/usb/xhcivar.h')
-rw-r--r--src/sys/include/io/usb/xhcivar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/include/io/usb/xhcivar.h b/src/sys/include/io/usb/xhcivar.h
index c0b3a39..bc5f59b 100644
--- a/src/sys/include/io/usb/xhcivar.h
+++ b/src/sys/include/io/usb/xhcivar.h
@@ -37,9 +37,15 @@
* Represents the host controller
*
* @io: I/O space
+ * @max_slots: Max device slots
+ * @max_intrs: Max interrupters
+ * @max_ports: Max ports
*/
struct xhci_hcd {
struct xhci_capregs *capspace;
+ uint8_t max_slots;
+ uint32_t max_intrs;
+ uint32_t max_ports;
};
#define XHCI_TIMEOUT_MSEC 500