summaryrefslogtreecommitdiff
path: root/sys/include/dev/usb/xhciregs.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-09 19:02:11 -0400
committerIan Moffett <ian@osmora.org>2025-08-09 19:02:11 -0400
commit5e46817ba95f4ca0cf11b10e8655b60b4137baef (patch)
treea1cd33baf21d1366a4b88c4db3337c3ca284bc98 /sys/include/dev/usb/xhciregs.h
parenta3684eab32e1f836a2745a9b1bc744520852d086 (diff)
kernel: xhci: Add USBSTS_CNR definition
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/usb/xhciregs.h')
-rw-r--r--sys/include/dev/usb/xhciregs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/dev/usb/xhciregs.h b/sys/include/dev/usb/xhciregs.h
index 1cbfd14..cafd7c9 100644
--- a/sys/include/dev/usb/xhciregs.h
+++ b/sys/include/dev/usb/xhciregs.h
@@ -77,6 +77,7 @@ struct xhci_opregs {
/* USBSTS bits */
#define USBSTS_HCH BIT(0) /* HC halted */
+#define USBSTS_CNR BIT(11) /* Controller not ready */
/* CAPS.HCSPARAMS1 fields */
#define XHCI_MAXSLOTS(HCSPARAMS1) (HCSPARAMS1 & 0xFF)