File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ extern "C" {
13
13
14
14
/* These are used in debug output and default SCSI strings */
15
15
extern const char *g_platform_name;
16
- #define PLATFORM_NAME " BlueSCSI Pico "
16
+ #define PLATFORM_NAME " BlueSCSI"
17
17
#define PLATFORM_REVISION " 2.0"
18
+ #define PLATFORM_INQUIRY PLATFORM_NAME " v" BLUESCSI_FW_VERSION
18
19
#define PLATFORM_MAX_SCSI_SPEED S2S_CFG_SPEED_SYNC_10
19
20
#define PLATFORM_OPTIMAL_MIN_SD_WRITE_SIZE 32768
20
21
#define PLATFORM_OPTIMAL_MAX_SD_WRITE_SIZE 65536
Original file line number Diff line number Diff line change 18
18
19
19
#include "scsi.h"
20
20
#include "config.h"
21
+ #include "BlueSCSI_config.h"
21
22
#include "inquiry.h"
22
23
23
24
#include <string.h>
@@ -241,10 +242,12 @@ uint32_t s2s_getStandardInquiry(
241
242
memcpy (& out [8 ], cfg -> vendor , sizeof (cfg -> vendor ));
242
243
memcpy (& out [16 ], cfg -> prodId , sizeof (cfg -> prodId ));
243
244
memcpy (& out [32 ], cfg -> revision , sizeof (cfg -> revision ));
245
+ memcpy (& out [36 ], PLATFORM_INQUIRY , sizeof (PLATFORM_INQUIRY ));
244
246
return sizeof (StandardResponse ) +
245
247
sizeof (cfg -> vendor ) +
246
248
sizeof (cfg -> prodId ) +
247
- sizeof (cfg -> revision );
249
+ sizeof (cfg -> revision ) +
250
+ sizeof (PLATFORM_INQUIRY );
248
251
}
249
252
250
253
uint8_t getDeviceTypeQualifier ()
You can’t perform that action at this time.
0 commit comments