mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
Merged revisions 6777,6801,6806,6815 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1950,6 +1950,7 @@ go:
|
||||
|
||||
memset(buf, 0, len);
|
||||
buf[0] = 0x7F; /* Peripheral qualifier 011b, Peripheral device type 1Fh */
|
||||
buf[2] = 6; /* Device complies to SPC-4 */
|
||||
buf[4] = len - 4;
|
||||
|
||||
TRACE_BUFFER("INQUIRY for not supported LUN set", buf, len);
|
||||
|
||||
+6
-4
@@ -1537,10 +1537,12 @@ int scst_tg_get_group_info(void **buf, uint32_t *length,
|
||||
list_for_each_entry(tg, &dg->tg_list, entry) {
|
||||
/* Target port group descriptor header. */
|
||||
*p++ = (tg->preferred ? SCST_TG_PREFERRED : 0) | tg->state;
|
||||
*p++ = SCST_TG_SUP_OPTIMIZED
|
||||
| SCST_TG_SUP_NONOPTIMIZED
|
||||
| SCST_TG_SUP_STANDBY
|
||||
| SCST_TG_SUP_UNAVAILABLE;
|
||||
*p++ = SCST_TG_SUP_OPTIMIZED |
|
||||
SCST_TG_SUP_NONOPTIMIZED |
|
||||
SCST_TG_SUP_STANDBY |
|
||||
SCST_TG_SUP_UNAVAILABLE |
|
||||
SCST_TG_SUP_OFFLINE |
|
||||
SCST_TG_SUP_TRANSITION;
|
||||
put_unaligned_be16(tg->group_id, p);
|
||||
p += 2;
|
||||
p++; /* reserved */
|
||||
|
||||
+1
-8
@@ -89,14 +89,7 @@ extraclean: clean
|
||||
grep "^CFLAGS += \-DDEBUG -g -fno-inline -fno-inline-functions" Makefile >/dev/null
|
||||
rm Makefile.aa
|
||||
|
||||
2perf:
|
||||
sed -i.aa s/"^C\?FLAGS += \-DEXTRACHECKS"/"#CFLAGS += \-DEXTRACHECKS"/ Makefile
|
||||
grep "^#CFLAGS += \-DEXTRACHECKS" Makefile >/dev/null
|
||||
sed -i.aa s/"^C\?FLAGS += \-DTRACING"/"#CFLAGS += \-DTRACING"/ Makefile
|
||||
grep "^#CFLAGS += \-DTRACING" Makefile >/dev/null
|
||||
sed -i.aa s/"^C\?FLAGS += \-DDEBUG -g -fno-inline -fno-inline-functions"/"#CFLAGS += \-DDEBUG -g -fno-inline -fno-inline-functions"/ Makefile
|
||||
grep "^#CFLAGS += \-DDEBUG -g -fno-inline -fno-inline-functions" Makefile >/dev/null
|
||||
rm Makefile.aa
|
||||
2perf: 2release
|
||||
|
||||
release-archive:
|
||||
../../scripts/generate-release-archive stpgd "$$(sed -n 's/^#define[[:blank:]]VERSION_STR[[:blank:]]*\"\([^\"]*\)\".*/\1/p' ../include/version.h)"
|
||||
|
||||
@@ -46,12 +46,12 @@ char *app_name;
|
||||
# endif
|
||||
#endif /* DEBUG */
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
bool log_daemon = true;
|
||||
unsigned long trace_flag = DEFAULT_LOG_FLAGS;
|
||||
#endif /* defined(DEBUG) || defined(TRACING) */
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
int transition_timeout = DEFAULT_TRANSITION_TIME;
|
||||
|
||||
static struct option const long_options[] = {
|
||||
|
||||
Reference in New Issue
Block a user