aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-05 20:01:40 -0400
committerIan Moffett <ian@osmora.org>2024-04-05 20:01:40 -0400
commit0516521f8c8aeaa4c0deed0da0691246afb946a5 (patch)
tree90698307c1f6a29efb2fca36371e961878382ffb
parenta85655bc11d7e48b81d0960c0a219da438df3388 (diff)
kernel: xhci: Add TRB types
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/dev/usb/xhcivar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/dev/usb/xhcivar.h b/sys/include/dev/usb/xhcivar.h
index 12a528c..b36f2d9 100644
--- a/sys/include/dev/usb/xhcivar.h
+++ b/sys/include/dev/usb/xhcivar.h
@@ -106,4 +106,8 @@ struct xhci_hc {
struct xhci_evring_segment *evring_seg;
};
+/* TRB types */
+#define XHCI_ENABLE_SLOT 9
+#define XHCI_LINK 6
+
#endif /* !_USB_XHCIVAR_H_ */