diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-05 18:06:24 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-19 08:55:43 -0500 |
commit | 90037d4c73ed704d85485d4fa68a618d4db2b12a (patch) | |
tree | 286cffe3f6c372700c7dcdb821b512213634c4de /board/toradex | |
parent | c7cd4afb923bd54f18bee71993127aca550f2737 (diff) | |
download | u-boot-90037d4c73ed704d85485d4fa68a618d4db2b12a.zip u-boot-90037d4c73ed704d85485d4fa68a618d4db2b12a.tar.gz u-boot-90037d4c73ed704d85485d4fa68a618d4db2b12a.tar.bz2 |
dm: scsi: report correct device number
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@gmx.de>
Diffstat (limited to 'board/toradex')
0 files changed, 0 insertions, 0 deletions