summaryrefslogtreecommitdiffstats
path: root/include/usb_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_defs.h')
-rw-r--r--include/usb_defs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/usb_defs.h b/include/usb_defs.h
index 353019fc16..33d1e46f2d 100644
--- a/include/usb_defs.h
+++ b/include/usb_defs.h
@@ -26,6 +26,20 @@
#ifndef _USB_DEFS_H_
#define _USB_DEFS_H_
+
+/* Everything is aribtrary */
+#define USB_ALTSETTINGALLOC 4
+#define USB_MAXALTSETTING 128 /* Hard limit */
+
+#define USB_MAX_DEVICE 32
+#define USB_MAXCONFIG 8
+#define USB_MAXINTERFACES 8
+#define USB_MAXENDPOINTS 16
+#define USB_MAXCHILDREN 8 /* This is arbitrary */
+#define USB_MAX_HUB 16
+
+#define USB_CNTL_TIMEOUT 100 /* 100ms timeout */
+
/* USB constants */
/* Device and/or Interface Class codes */
OpenPOWER on IntegriCloud