[U-Boot] [PATCH] dm: scsi: if_typename should be scsi
Ed Swarthout
Ed.Swarthout at nxp.com
Wed Jun 1 15:11:24 CEST 2016
Fixes:
=> ext2ls scsi 0:1
** Bad device scsi 0:1 **
for boards which use the scsi legacy driver (such as ls1043ardb).
Signed-off-by: Ed Swarthout <Ed.Swarthout at nxp.com>
---
This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b
common/scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/scsi.c b/common/scsi.c
index 8ac28dd..dbbf404 100644
--- a/common/scsi.c
+++ b/common/scsi.c
@@ -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
More information about the U-Boot
mailing list