Skip to contentSkip to conversation

dm: scsi: if_typename should be scsi

PATCH In review Ed Swarthout 4 participants 4 messages Jun 1, 2016 – Jun 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: scsi: if_typename should be scsi

Fixes:

=> ext2ls scsi 0:1
** Bad device scsi 0:1 **

for boards which use the scsi legacy driver (such as ls1043ardb).

---
This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b

 common/scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/scsi.c +1 -1
index 8ac28dd..dbbf404 100644
@@ -584,7 +584,7 @@ U_BOOT_DRIVER(scsi_blk) = {
 };
 #else
 U_BOOT_LEGACY_BLK(scsi) = {
-	.if_typename	= "sata",
+	.if_typename	= "scsi",
 	.if_type	= IF_TYPE_SCSI,
 	.max_devs	= CONFIG_SYS_SCSI_MAX_DEVICE,
 	.desc		= scsi_dev_desc,
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 dm: scsi: if_typename should be scsi

I was having this problem on the Minnowboard Max with the defconfig and this fixes it.

Thanks,
George

Quoted 34 lines · Ed Swarthout

Fixes:

=> ext2ls scsi 0:1
** Bad device scsi 0:1 **

for boards which use the scsi legacy driver (such as ls1043ardb).

---
This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b

 common/scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/scsi.c +1 -2
index 8ac28dd..dbbf404 100644
@@ -584,7 +584,7 @@ U_BOOT_DRIVER(scsi_blk) = {
 };
 #else
 U_BOOT_LEGACY_BLK(scsi) = {
-       .if_typename    = "sata",
+       .if_typename    = "scsi",
        .if_type        = IF_TYPE_SCSI,
        .max_devs       = CONFIG_SYS_SCSI_MAX_DEVICE,
        .desc           = scsi_dev_desc,
--

2.5.0

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

PATCH 1/1 dm: scsi: if_typename should be scsi

In reply to Ed Swarthout
Quoted 5 lines · Ed Swarthout

Fixes:

=> ext2ls scsi 0:1
** Bad device scsi 0:1 **

Quoted 8 lines

for boards which use the scsi legacy driver (such as ls1043ardb).

---
This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b

 common/scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thank you!

#3 lore raw
In reply to Ed Swarthout
Quoted 10 lines · Ed Swarthout

Fixes:

=> ext2ls scsi 0:1
** Bad device scsi 0:1 **

for boards which use the scsi legacy driver (such as ls1043ardb).

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160606/b63bbbc3/attachment.sig>