projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c487632
)
sandbox: usb: Allow up to 4 emulated devices on a hub
author
Simon Glass
<sjg@chromium.org>
Mon, 9 Nov 2015 06:47:54 +0000
(23:47 -0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000
(20:27 -0700)
To support more advanced testing, support 4 devices instead of 2.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/emul/sandbox_hub.c
b/drivers/usb/emul/sandbox_hub.c
index baf8bdc857b6452315af9c7efec983dd2a1bc06d..624fbdecf1f965bcda9cc4244d21905f06f87af7 100644
(file)
--- a/
drivers/usb/emul/sandbox_hub.c
+++ b/
drivers/usb/emul/sandbox_hub.c
@@
-13,7
+13,7
@@
DECLARE_GLOBAL_DATA_PTR;
/* We only support up to 8 */
-#define SANDBOX_NUM_PORTS
2
+#define SANDBOX_NUM_PORTS
4
struct sandbox_hub_platdata {
struct usb_dev_platdata plat;