aboutsummaryrefslogtreecommitdiff
path: root/include/scsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi.h')
-rw-r--r--include/scsi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi.h b/include/scsi.h
index 66a2caa26e..b47c7463c1 100644
--- a/include/scsi.h
+++ b/include/scsi.h
@@ -9,6 +9,10 @@
#include <asm/cache.h>
#include <linux/dma-direction.h>
+/* Fix this to the maximum */
+#define SCSI_MAX_DEVICE \
+ (CONFIG_SYS_SCSI_MAX_SCSI_ID * CONFIG_SYS_SCSI_MAX_LUN)
+
struct udevice;
struct scsi_cmd {