فهرست منبع

Support SCSI ID up to 7 (#41)

Petteri Aimonen 3 سال پیش
والد
کامیت
31680c1652
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      lib/SCSI2SD/include/scsi2sd.h
  2. 1 1
      src/AzulSCSI_config.h

+ 1 - 1
lib/SCSI2SD/include/scsi2sd.h

@@ -39,7 +39,7 @@ extern "C" {
 
 
 #include "stdint.h"
 #include "stdint.h"
 
 
-#define S2S_MAX_TARGETS 7
+#define S2S_MAX_TARGETS 8
 #define S2S_CFG_SIZE (S2S_MAX_TARGETS * sizeof(S2S_TargetCfg) + sizeof(S2S_BoardCfg))
 #define S2S_CFG_SIZE (S2S_MAX_TARGETS * sizeof(S2S_TargetCfg) + sizeof(S2S_BoardCfg))
 
 
 typedef enum
 typedef enum

+ 1 - 1
src/AzulSCSI_config.h

@@ -26,7 +26,7 @@
 #define MAX_FILE_PATH 64                // Maximum file name length
 #define MAX_FILE_PATH 64                // Maximum file name length
 
 
 // SCSI config
 // SCSI config
-#define NUM_SCSIID  7          // Maximum number of supported SCSI-IDs (The minimum is 0)
+#define NUM_SCSIID  8          // Maximum number of supported SCSI-IDs (The minimum is 0)
 #define NUM_SCSILUN 1          // Maximum number of LUNs supported     (Currently has to be 1)
 #define NUM_SCSILUN 1          // Maximum number of LUNs supported     (Currently has to be 1)
 #define READ_PARITY_CHECK 0    // Perform read parity check (unverified)
 #define READ_PARITY_CHECK 0    // Perform read parity check (unverified)