[U-Boot] [U-Boot,1/1] dm: scsi: report correct device number
Tom Rini
trini at konsulko.com
Wed Feb 20 01:57:01 UTC 2019
On Tue, Feb 05, 2019 at 06:06:24PM +0100, Heinrich Schuchardt wrote:
> Before the patch scsi would report the same device number for all SCSI
> devices, e.g.
>
> Device 0: (1:0) Vendor: ATA Prod.: Crucial_CT128M55 Rev: MU01
> Type: Hard Disk
> Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
> Device 0: (1:0) Vendor: ATA Prod.: Rev:
> Type: Hard Disk
> Capacity: not available
>
> With the patch the same device number is reported as is used in
> scsi_read():
>
> Device 0: (1:0) Vendor: ATA Prod.: Crucial_CT128M55 Rev: MU01
> Type: Hard Disk
> Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
> Device 1: (1:0) Vendor: ATA Prod.: Rev:
> Type: Hard Disk
> Capacity: not available
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/2c79d633/attachment.sig>
More information about the U-Boot
mailing list