summaryrefslogtreecommitdiff
path: root/src/sys/include/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/io')
-rw-r--r--src/sys/include/io/usb/xhciregs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/include/io/usb/xhciregs.h b/src/sys/include/io/usb/xhciregs.h
index ebaf5d7..85a8630 100644
--- a/src/sys/include/io/usb/xhciregs.h
+++ b/src/sys/include/io/usb/xhciregs.h
@@ -77,6 +77,12 @@ struct __packed xhci_opregs {
*/
#define USBCMD_HCRST BIT(1) /* Host controller reset */
+/*
+ * USB status register bits
+ *
+ * See section 5.4.2 of the xHCI spec
+ */
+#define USBSTS_CNR BIT(11) /* Controller not ready */
/*
* Macros to get various register spaces