summaryrefslogtreecommitdiff
path: root/sys/dev/usb/xhcireg.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-01-18 20:35:12 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-01-18 20:35:12 +0000
commitc546b30fafbccb5f208b72fecfb29e236c6e7174 (patch)
treec6f4ed7c41dd5a4bf71035a47ce8eb1dc300e480 /sys/dev/usb/xhcireg.h
parenta7d35230cb0dee8891527bffb0dc2892548dc96a (diff)
Do not trust the content of event TRBs coming from the hardware and
maintain a list of possibly submitted commands.
Diffstat (limited to 'sys/dev/usb/xhcireg.h')
-rw-r--r--sys/dev/usb/xhcireg.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/xhcireg.h b/sys/dev/usb/xhcireg.h
index 424b8cb881d..216a00d85db 100644
--- a/sys/dev/usb/xhcireg.h
+++ b/sys/dev/usb/xhcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhcireg.h,v 1.10 2015/01/18 14:49:04 mpi Exp $ */
+/* $OpenBSD: xhcireg.h,v 1.11 2015/01/18 20:35:11 mpi Exp $ */
/*-
* Copyright (c) 2014 Martin Pieuchot. All rights reserved.
@@ -29,9 +29,6 @@
#ifndef _XHCIREG_H_
#define _XHCIREG_H_
-/* Default command execution time (implementation defined). */
-#define XHCI_COMMAND_TIMEOUT 500 /* ms */
-
/* Data Structure Boundary and Alignment Requirement. */
#define XHCI_DCBAA_ALIGN 64
#define XHCI_ICTX_ALIGN 64