]> git.baikalelectronics.ru Git - uboot.git/commit
usb: host: Print device name when scanning
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Tue, 19 Mar 2019 09:19:44 +0000 (09:19 +0000)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 11:11:45 +0000 (13:11 +0200)
commit83ac32d8de3a9193ecc83a359f16ff67ac7b03ee
tree7a797e1e74377d220cd2b1d5e64679722ba58cf3
parent80324ddb105fd51cd9b94d1cae42b8d684a86471
usb: host: Print device name when scanning

Drop the counter, it has no meaning other than being the order in which
the interface is found; the name assigned to the USB host controller
interface is a better indicator.

Example of the original output:
> USB0:   USB EHCI 1.10
> scanning bus 0 for devices... 2 USB Device(s) found
>        scanning usb for storage devices... 1 Storage Device(s) found

Patched output:
> Bus usb@ee080100: USB EHCI 1.10
> scanning bus usb@ee080100 for devices... 2 USB Device(s) found
>        scanning usb for storage devices... 1 Storage Device(s) found

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
drivers/usb/host/usb-uclass.c