u-boot-brain/drivers/usb/emul
Bin Meng d7771f0c5c usb: emul: hub: Report the actual device speed of the emulation device
At present the usb hub emulator always reports its downstream port
speed as full speed. Actually it is high speed for sandbox-flash,
and low speed for sandbox-keyb. We can determine the device speed
by checking its device descriptor bcdUSB field, and do the proper
hub port status report based on that.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2017-10-01 16:32:51 +02:00
..
Kconfig dm: usb: sandbox: Add a uclass for USB device emulation 2015-04-18 11:11:26 -06:00
Makefile usb: sandbox: Add a USB emulation driver 2015-11-19 20:27:52 -07:00
sandbox_flash.c usb: emul: Remove maxpacketsize in usb_emul_setup_device() 2017-10-01 16:32:50 +02:00
sandbox_hub.c usb: emul: hub: Report the actual device speed of the emulation device 2017-10-01 16:32:51 +02:00
sandbox_keyb.c usb: emul: Remove maxpacketsize in usb_emul_setup_device() 2017-10-01 16:32:50 +02:00
usb-emul-uclass.c usb: emul: Expose find_descriptor() as a public API 2017-10-01 16:32:51 +02:00