aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/xhci.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2014-02-14 07:17:36 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2014-02-14 07:17:36 +0000
commitc4a1e93fa64d3fce3ff3e3bf9ece2e4051d71f04 (patch)
tree337c4fce8e6a65d6845be05886699c9089a2fafc /sys/dev/usb/controller/xhci.h
parente952166b53cecbc097537c9ba3d15a4c8b3347ac (diff)
Notes
Diffstat (limited to 'sys/dev/usb/controller/xhci.h')
-rw-r--r--sys/dev/usb/controller/xhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/xhci.h b/sys/dev/usb/controller/xhci.h
index 10045a720168..c63632b0b44b 100644
--- a/sys/dev/usb/controller/xhci.h
+++ b/sys/dev/usb/controller/xhci.h
@@ -192,6 +192,7 @@ struct xhci_stream_ctx {
struct xhci_trb {
volatile uint64_t qwTrb0;
+#define XHCI_TRB_0_DIR_IN_MASK (0x80ULL << 0)
#define XHCI_TRB_0_WLENGTH_MASK (0xFFFFULL << 48)
volatile uint32_t dwTrb2;
#define XHCI_TRB_2_ERROR_GET(x) (((x) >> 24) & 0xFF)