]> git.dujemihanovic.xyz Git - u-boot.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)
commit89aea23abb971fa89b7a96c02024b63d0b918a78
tree7a797e1e74377d220cd2b1d5e64679722ba58cf3
parent3c99166441bf3ea325af2da83cfe65430b49c066
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