Bart Van Assche
8268f5d5b1
Convert setup_timer() into timer_setup() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:44:21 +00:00
Bart Van Assche
56e27f4125
qla2x00t: Convert init_timer() into setup_timer() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:43:15 +00:00
Vladislav Bolkhovitin
b65d646a2f
Unpdate for kernels 4.12+
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-14 02:18:56 +00:00
Bart Van Assche
8f704cbe83
qla2x00t: Fix scst_debug.h include path for the in-tree build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-12 14:56:44 +00:00
Vladislav Bolkhovitin
339bc321a4
qla2x00t: update FW version information as suggested by Jens-U. Mozdzen <jmozdzen@nde.ag>
...
See https://sourceforge.net/p/scst/mailman/message/36068827/
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-10 02:06:13 +00:00
Bart Van Assche
aae7d099f1
qla2x00t: Port to openSUSE Leap
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-05 23:48:51 +00:00
Vladislav Bolkhovitin
d0c448116a
Change version to 3.4
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-09-01 04:04:00 +00:00
Bart Van Assche
9e35afe1e0
Annotate fall-through in switch statements in a form recognized by gcc 7
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-27 15:28:57 +00:00
Vladislav Bolkhovitin
0ae66a082e
Fix dereference beyond last sg element
...
Reported-By: David Butterfield <dab21774@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-06-03 04:02:22 +00:00
Vladislav Bolkhovitin
93bea9e0e8
Update to 4.11 kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-06-03 02:38:51 +00:00
Vladislav Bolkhovitin
27db06eb7c
qla2x00t: fix broken 4.9 kernels build
...
Reported-By: Marc Smith <marc.smith@parodyne.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-23 02:23:38 +00:00
Vladislav Bolkhovitin
8d3a9f440a
qla2x00t: Disable Out-of-order processing by default
...
From: Quinn Tran <quinn.tran@cavium.com >
Out of order(OOO) processing requires initiator, switch
and target to support OOO. In today¹s environment, none
of the switches support OOO. OOO requires extra buffer
space which affect performance. By turning ON this feature
in QLogic's FW, it delays error recovery because droped
frame is treated as out of order frame. We¹re turning OFF
this option of speed up error recovery.
Reviewed-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Quinn Tran <quinn.tran@cavium.com >
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com >
Merge of mainline commit 300af14bdb28157090f0c6f89d244fda940082da
EXPERIMENTAL!
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-19 02:58:23 +00:00
Vladislav Bolkhovitin
3f5c04bec9
qla2x00t: update to kernel 4.10
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7170 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-11 03:51:32 +00:00
Bart Van Assche
7d9994593f
qla2x00t: Convert the non-standard %Lx into %llx
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-02 05:28:29 +00:00
Vladislav Bolkhovitin
33af3ccb46
ql2x00t: howto update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-22 04:15:21 +00:00
Vladislav Bolkhovitin
68fa7e1a0d
Copyright updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-22 03:19:52 +00:00
Vladislav Bolkhovitin
7083e395e9
generate-kernel-patch: optimize generation of Makefile for qla2x00t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:44:48 +00:00
Vladislav Bolkhovitin
69863eb497
Increase version to 3.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-03 02:32:17 +00:00
Vladislav Bolkhovitin
528f5e0004
Makefiles/Kconfigs for kernels 4.5 and 4.6
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-06-25 00:56:09 +00:00
Vladislav Bolkhovitin
21559f7798
qla2x00t: clarify that NPIV is not supported in this version
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-05-07 00:47:57 +00:00
Vladislav Bolkhovitin
c12cdbf860
qla2x00t: decrease severity of 2 log messages
...
Those messages don't necessare mean any error. Some harmless race
conditions between the target driver and FW can lead to them as well.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6825 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-10 05:00:01 +00:00
Vladislav Bolkhovitin
fa2f54ac9e
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00
Bart Van Assche
120e5fb78b
nightly build: Add kernel 4.4 support files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:04 +00:00
Bart Van Assche
d6b116c46d
qla2x00t: Fix a few typos
...
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6710 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-22 19:49:18 +00:00
Bart Van Assche
8b7820129a
qla2x00t: Use strlcpy() instead of strcpy()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:42 +00:00
Bart Van Assche
2bdb7bfc8d
qla2x00t: Do not compare an array pointer with NULL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:15 +00:00
Bart Van Assche
22a203d843
qla2x00t: Suppress a Coverity complaint about a potential buffer overflow
...
Coverity reported the following:
Copy into fixed size buffer (STRING_OVERFLOW)
fixed_size_dest: You might overrun the 17 byte fixed-size string
ha->model_number by copying def without checking the length.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:26:26 +00:00
Bart Van Assche
0234aa8f99
qla2x00t: Remove a delayed_work function pointer cast
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:17:51 +00:00
Bart Van Assche
1a23466c69
qla2x00t: Follow-up for r6635
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6652 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 06:06:08 +00:00
Bart Van Assche
99d47d5ce2
scst, qla2x00t: Return ENOTSUPP instead of ENOSYS
...
ENOSYS must only be used inside system calls.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 02:01:57 +00:00
Bart Van Assche
3d57bb3d16
qla2x00t: Use __packed instead of __attribute__((packed))
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:03:54 +00:00
Bart Van Assche
5554a2a8b1
qla2x00t: Use kmalloc_array() instead of kmalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:08:43 +00:00
Bart Van Assche
5296640e97
qla2x00t: Use kcalloc() instead of kzalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6626 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:40:07 +00:00
Bart Van Assche
4862b1d3f5
qla2x00t: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:01:05 +00:00
Bart Van Assche
b1cb5ebe79
qla2x00t: Place constants at the right-hand-side in comparisons
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6611 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:55:30 +00:00
Vladislav Bolkhovitin
5f7ac7f4bf
Version updated to 3.2.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:17:17 +00:00
Bart Van Assche
77baa86e0e
qla2x00t: Source code comment spelling fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-03 05:25:32 +00:00
Bart Van Assche
fc27595d07
nightly build: Add support files for kernel v4.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6569 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-03 05:24:37 +00:00
Bart Van Assche
f4a57df52b
qla2x00t: Convert __constant_cpu_to_*() into cpu_to_*()
...
This change does not affect the generated code but improves source
code readability.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 22:03:06 +00:00
Bart Van Assche
4a858144ec
qla2x00t: Convert __constant_htonl() into htonl()
...
The function htonl() checks whether its argument is a constant
and is evaluated by the compiler if its argument is a constant.
This means that __constant_htonl() can be changed into htonl()
without any performance impact.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 21:43:59 +00:00
Bart Van Assche
b85e99da68
nightly build: Add kernel v4.2 build infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6505 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 14:00:26 +00:00
Vladislav Bolkhovitin
45d7f40ec1
Improve release logging
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6478 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 02:57:51 +00:00
Bart Van Assche
e75e67bb51
qla2xxx: Fix indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-11 03:46:28 +00:00
Bart Van Assche
2e07fca500
nightly build: Add kernel v4.1 build infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6405 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-28 15:45:59 +00:00
Bart Van Assche
cd0a7b7b9d
qla2x00t: Fix a potential buffer overflow
...
Detected by Coverity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6392 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:36:52 +00:00
Bart Van Assche
7b8ad56790
qla2x00t: Fix a potential buffer overflow
...
Detected by Coverity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:36:22 +00:00
Bart Van Assche
2a6a25ba45
qla2x00t: Change type of first argument of qla24xx_prep_ct_fm_req()
...
This makes it easier for Coverity to analyze this code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:35:43 +00:00
Bart Van Assche
556023b862
qla2x00t: Help Coverity with analyzing ct_sns_pkt initialization
...
This patch does not change any functionality. See also the upstream
patch "qla2xxx: Help Coverity with analyzing ct_sns_pkt
initialization".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:29:40 +00:00
Bart Van Assche
18c63e434b
qla2x00t: Fix a potential buffer overflow
...
Detected by Coverity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6382 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:29:04 +00:00
Bart Van Assche
b936c23543
qla2xxx: Declare local symbols 'static'
...
Additionally, remove unused code. Detected by sparse.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:03:35 +00:00