projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: usb: sandbox: Add an emulator for USB hub emulation
[oweals/u-boot.git]
/
include
/
usb_defs.h
diff --git
a/include/usb_defs.h
b/include/usb_defs.h
index d7f7465fe554ebe2f6b7e57ab4a1d64814b940b4..27ddc4711d7fcced6d458623c2d900ad96294171 100644
(file)
--- a/
include/usb_defs.h
+++ b/
include/usb_defs.h
@@
-286,6
+286,9
@@
#define HUB_CHANGE_LOCAL_POWER 0x0001
#define HUB_CHANGE_OVERCURRENT 0x0002
+/* Mask for wIndex in get/set port feature */
+#define USB_HUB_PORT_MASK 0xf
+
/*
* CBI style
*/