aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/hcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/hcd.h')
-rw-r--r--include/linux/usb/hcd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 0b6e751ea0b1..a854fe89484e 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -112,6 +112,7 @@ struct usb_hcd {
112 /* Flags that get set only during HCD registration or removal. */ 112 /* Flags that get set only during HCD registration or removal. */
113 unsigned rh_registered:1;/* is root hub registered? */ 113 unsigned rh_registered:1;/* is root hub registered? */
114 unsigned rh_pollable:1; /* may we poll the root hub? */ 114 unsigned rh_pollable:1; /* may we poll the root hub? */
115 unsigned msix_enabled:1; /* driver has MSI-X enabled? */
115 116
116 /* The next flag is a stopgap, to be removed when all the HCDs 117 /* The next flag is a stopgap, to be removed when all the HCDs
117 * support the new root-hub polling mechanism. */ 118 * support the new root-hub polling mechanism. */
@@ -471,6 +472,10 @@ extern void usb_ep0_reinit(struct usb_device *);
471 472
472/*-------------------------------------------------------------------------*/ 473/*-------------------------------------------------------------------------*/
473 474
475/* class requests from USB 3.0 hub spec, table 10-5 */
476#define SetHubDepth (0x3000 | HUB_SET_DEPTH)
477#define GetPortErrorCount (0x8000 | HUB_GET_PORT_ERR_COUNT)
478
474/* 479/*
475 * Generic bandwidth allocation constants/support 480 * Generic bandwidth allocation constants/support
476 */ 481 */