From: Ismael Luceno Cortes Date: Tue, 19 Mar 2019 09:01:25 +0000 Subject: [U-Boot] [PATCH v3] usb: host: Print device name when scanning In-Reply-To: References: <20190318132139.13821-1-ismael.luceno@silicon-gears.com> Message-ID: <20190319090125.GB6273@kiki> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19/Mar/2019 02:14, Marek Vasut wrote: > On 3/18/19 2:21 PM, Ismael Luceno Cortes wrote: > > 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 at ee080100: USB EHCI 1.10 > >> scanning bus 0 for devices... 2 USB Device(s) found > ^ > '-- here it still says 0, why ? > it's not very consistent :) Good point, I'll remove that one, it seems it used to be the same thing but now comes from dev->seq.