Minor changes and docs updates

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@471 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-07-22 15:32:42 +00:00
parent 4ba14ede19
commit 84153b23b5
5 changed files with 22 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
Summary of changes between versions 1.0.0 and 1.0.1
---------------------------------------------------
- Fixed possible oops in the initiator driver on the module unload
Summary of changes between versions 0.9.5 and 1.0.0

View File

@@ -13,7 +13,8 @@ all necessary callbacks, but it's still capable to work as initiator
only. Mode, when a host acts as the initiator and the target
simultaneously, is supported as well.
This version is compatible with SCST core version 1.0.0 and higher.
This version is compatible with SCST core version 1.0.0 and higher and
Linux kernel 2.6.16 and higher.
The original initiator driver was taken from the kernel 2.6.17.8.

View File

@@ -2226,6 +2226,9 @@ static int __init q2t_init(void)
TRACE_ENTRY();
PRINT_INFO("Initializing QLogic Fibre Channel HBA Driver target mode "
"addon version %s", Q2T_VERSION_STRING);
q2t_cmd_cachep = KMEM_CACHE(q2t_cmd, SCST_SLAB_FLAGS);
if (q2t_cmd_cachep == NULL) {
res = -ENOMEM;

View File

@@ -40,7 +40,7 @@
#endif
#define QLA2X_TARGET_MAGIC 153
#define QLA2X_INITIATOR_MAGIC 54203
#define QLA2X_INITIATOR_MAGIC 54205
#define QLA2X00_COMMAND_COUNT_INIT 250
#define QLA2X00_IMMED_NOTIFY_COUNT_INIT 250

View File

@@ -169,9 +169,9 @@ do { \
#else /* CONFIG_SCST_DEBUG || CONFIG_SCST_TRACING */
#define TRACE(trace, args...) {}
#define PRINT_BUFFER(message, buff, len) {}
#define PRINT_BUFF_FLAG(flag, message, buff, len) {}
#define TRACE(trace, args...) do {} while (0)
#define PRINT_BUFFER(message, buff, len) do {} while (0)
#define PRINT_BUFF_FLAG(flag, message, buff, len) do {} while (0)
#endif /* CONFIG_SCST_DEBUG || CONFIG_SCST_TRACING */
@@ -319,18 +319,18 @@ do { \
#else /* CONFIG_SCST_DEBUG */
#define TRACE_MEM(format, args...) {}
#define TRACE_SG(format, args...) {}
#define TRACE_DBG(format, args...) {}
#define TRACE_DBG_SPECIAL(format, args...) {}
#define TRACE_MGMT_DBG(format, args...) {}
#define TRACE_MGMT_DBG_SPECIAL(format, args...) {}
#define TRACE_BUFFER(message, buff, len) {}
#define TRACE_BUFF_FLAG(flag, message, buff, len) {}
#define TRACE_ENTRY() {}
#define TRACE_EXIT() {}
#define TRACE_EXIT_RES(res) {}
#define TRACE_EXIT_HRES(res) {}
#define TRACE_MEM(format, args...) do {} while (0)
#define TRACE_SG(format, args...) do {} while (0)
#define TRACE_DBG(format, args...) do {} while (0)
#define TRACE_DBG_SPECIAL(format, args...) do {} while (0)
#define TRACE_MGMT_DBG(format, args...) do {} while (0)
#define TRACE_MGMT_DBG_SPECIAL(format, args...) do {} while (0)
#define TRACE_BUFFER(message, buff, len) do {} while (0)
#define TRACE_BUFF_FLAG(flag, message, buff, len) do {} while (0)
#define TRACE_ENTRY() do {} while (0)
#define TRACE_EXIT() do {} while (0)
#define TRACE_EXIT_RES(res) do {} while (0)
#define TRACE_EXIT_HRES(res) do {} while (0)
#ifdef LOG_PREFIX