diff options
author | Andiry Xu <andiry.xu@amd.com> | 2011-05-05 06:13:56 -0400 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-05-09 12:34:46 -0400 |
commit | b83cdc8f4d94a127e9319bef37f384b01ecca72e (patch) | |
tree | dffaaf7b188401220f45d2c7070d422a3ea21b08 /drivers/usb/host/xhci.h | |
parent | 04aebcbb1b6dccadc8862b2765265f65a946db57 (diff) |
xHCI 1.0: Setup Stage TRB Transfer Type flag
Setup Stage Transfer Type field is added to indicate the presence and the
direction of the Data Stage TD, and determines the direction of the Status
Stage TD so the wLength length field should be ignored by the xHC.
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index db661543a805..af8b66f2fd00 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -967,6 +967,9 @@ struct xhci_event_cmd { | |||
967 | 967 | ||
968 | /* Control transfer TRB specific fields */ | 968 | /* Control transfer TRB specific fields */ |
969 | #define TRB_DIR_IN (1<<16) | 969 | #define TRB_DIR_IN (1<<16) |
970 | #define TRB_TX_TYPE(p) ((p) << 16) | ||
971 | #define TRB_DATA_OUT 2 | ||
972 | #define TRB_DATA_IN 3 | ||
970 | 973 | ||
971 | /* Isochronous TRB specific fields */ | 974 | /* Isochronous TRB specific fields */ |
972 | #define TRB_SIA (1<<31) | 975 | #define TRB_SIA (1<<31) |