From: Marek Vasut Date: Tue, 19 Mar 2019 10:43:32 +0100 Subject: [U-Boot] [PATCH v3] usb: host: Print device name when scanning In-Reply-To: <20190319090125.GB6273@kiki> References: <20190318132139.13821-1-ismael.luceno@silicon-gears.com> <20190319090125.GB6273@kiki> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/19/19 10:01 AM, Ismael Luceno Cortes wrote: > 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. Thanks! -- Best regards, Marek Vasut