summaryrefslogtreecommitdiffstats
path: root/drivers/usb/hub.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/hub.h')
-rw-r--r--drivers/usb/hub.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/hub.h b/drivers/usb/hub.h
index c95a07d74..0da7eb87c 100644
--- a/drivers/usb/hub.h
+++ b/drivers/usb/hub.h
@@ -4,6 +4,13 @@
#include <linux/list.h>
/*
+ * Hub request types
+ */
+
+#define USB_RT_HUB (USB_TYPE_CLASS | USB_RECIP_DEVICE)
+#define USB_RT_PORT (USB_TYPE_CLASS | USB_RECIP_OTHER)
+
+/*
* Hub Class feature numbers
*/
#define C_HUB_LOCAL_POWER 0