From 39009e749ee98e715ac35060f54f9acb5ad172c4 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 14 Nov 2013 04:16:28 +0000 Subject: [PATCH] Cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5107 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_const.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scst/include/scst_const.h b/scst/include/scst_const.h index a61d0b161..869c9d018 100644 --- a/scst/include/scst_const.h +++ b/scst/include/scst_const.h @@ -186,6 +186,10 @@ enum scst_cmd_queue_type { ** compiler with another bitfields layout can be used. ***************************************************************/ enum scst_cdb_flags { + /* + * !! Both timeouts must be the lowest bits to match + * !! scst_generic_parse() expectations! + */ SCST_SMALL_TIMEOUT = 0x0001, SCST_LONG_TIMEOUT = 0x0002, #define SCST_BOTH_TIMEOUTS (SCST_SMALL_TIMEOUT | SCST_LONG_TIMEOUT)