Commit Graph
261 Commits
Author SHA1 Message Date
Vladislav Bolkhovitin 06249d693b Disable asking firmware for statistic if neither initiator, nor target modes enabled, because otherwise it can get crazy and be recovered only by a power reset.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-17 20:40:49 +00:00
Vladislav Bolkhovitin 22ebcaa381 Filter out zero port names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-15 23:26:27 +00:00
Vladislav Bolkhovitin 34ae7350ff Previous commit was wrong. Here is the correct version of the cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:28:45 +00:00
Vladislav Bolkhovitin 87686b6fbc Cleanup: loop_id_2100 is 2100/2200 specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:17:52 +00:00
Vladislav Bolkhovitin 3ee6fec0ba Fix for non-initialized s_id during ABTS handling
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-01 00:23:25 +00:00
Vladislav Bolkhovitin 4da198c5c4 Make q24_send_busy() a bit more reliable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-21 13:11:30 +00:00
Vladislav Bolkhovitin a23297eb40 Minor memory leak fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 18:37:11 +00:00
Vladislav Bolkhovitin 9f3646ea96 - Links events handling review
- Minor fixes


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 15:31:52 +00:00
Vladislav Bolkhovitin 72f11e6afb Version corrected
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 13:16:51 +00:00
Vladislav Bolkhovitin 7e98e5c62f Logging cleanups and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3207 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 13:10:14 +00:00
Vladislav Bolkhovitin 411fb4f623 - Update for 2.6.37
- Docs updated
 - Returning of DIRECT contexts by scst_estimate_context() disabled (see comment in the patch why)



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-10 18:34:29 +00:00
Vladislav Bolkhovitin f3238333dd Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 20:02:04 +00:00
Vladislav Bolkhovitin ff8b7ea523 Revert excessive marking devices lost to what the mainline qla2xxx is doing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3196 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 13:30:45 +00:00
Vladislav Bolkhovitin 562a0f7ea3 - FW_NOT_READY timeout decreased to 1s
- Cleanups.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3185 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-29 20:15:39 +00:00
Vladislav Bolkhovitin 68072411fe Minor discovery and version info improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3178 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-24 18:58:06 +00:00
Bart Van Assche 94b01ca7a3 Added 2.6.37-related files (svn merge -c3129 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-20 14:12:44 +00:00
Bart Van Assche 69c9e393e5 Fixed recently introduced checkpatch complaints about whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2828 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-25 09:58:09 +00:00
Vladislav Bolkhovitin 1dce4e0ade EXPERIMENTAL! patch to improve keeping S_ID/LOOP_ID/PortName mapping handling. Only slightly tested.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-24 20:37:01 +00:00
Vladislav Bolkhovitin 078c37afe0 Docs cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-24 12:00:24 +00:00
Vladislav Bolkhovitin 3e298c2e4e Fix compilation if target mode support disabled
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-17 19:48:32 +00:00
Vladislav Bolkhovitin 0e225ebdf4 Patch from Cheng Renquan <crquan@gmail.com>
This is needed to build qla2xxx on top of 2.6.26 and
2.6.27 Linux kernels according this scst-devel mailing list thread,
http://sourceforge.net/mailarchive/message.php?msg_name=1288289831-23405-1-git-send-email-crquan@gmail.com



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-16 18:41:28 +00:00
Vladislav Bolkhovitin 972959d11a Patch from Uri Yanai <Uri.Yanai@ngsoft.com> fixing compilation for kernels below 2.6.28
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-10 19:34:22 +00:00
Bart Van Assche 8eaff2c061 qla2x00t: Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2647 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 20:09:31 +00:00
Vladislav Bolkhovitin ba81a8caaf Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 14:41:22 +00:00
Vladislav Bolkhovitin e8f65b0336 Long CDBs handling fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2638 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 13:14:09 +00:00
Vladislav Bolkhovitin c631f51530 Fixes for sessions deletion
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 17:08:07 +00:00
Vladislav Bolkhovitin 66cec8e76a Fix problems in marking sessions local
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 14:18:10 +00:00
Vladislav Bolkhovitin 1903d5e459 Local sessions management made more robust
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 13:21:15 +00:00
Vladislav Bolkhovitin 97b62b57f1 TM handling on 23xx- fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 19:22:49 +00:00
Vladislav Bolkhovitin 8c33147780 - Node name setting added
- qlini_mode "disabled" parameter handling improved

 - Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 18:56:54 +00:00
Vladislav Bolkhovitin ac45e164b6 Logging cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 19:30:38 +00:00
Vladislav Bolkhovitin f52189609b A bunch of pending qla2x00t fixes:
- Make initiators discovery more robust

 - Fix mapped SG leaks

 - Docs update

 - Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 14:37:40 +00:00
Vladislav Bolkhovitin faa63a4c99 Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:34:34 +00:00
Vladislav Bolkhovitin 0b7ece3340 From 8eca3f39c4b11320787f7b216f63214aee8415a9 Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Thu, 22 Jan 2009 09:45:31 -0800
Subject: [PATCH] [SCSI] qla2xxx: Always serialize mailbox command execution.

Original code would incorrectly bypass serialization if the DPC
thread were performing a big-hammer operation (ISP abort).  This
short circuit, though rare, would subsequently stomp on a
secondary thread's mailbox command execution.  Found during
ISP81XX testing.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:33:06 +00:00
Vladislav Bolkhovitin b02fc5468e Mainline commit 3c01b4f9fbb43fc911acd33ea7a14ea7a4f9866b:
From: Seokmann Ju <seokmann.ju@qlogic.com>
Date: Thu, 22 Jan 2009 09:45:38 -0800
Subject: [PATCH] [SCSI] qla2xxx: Add checks for a valid fcport in dev-loss-tmo/terminate_rport_io callbacks.

Commit f78badb1ae07e7f8b835ab2ea0b456ed3fc4caf4 ([SCSI] fc
transport: pre-emptively terminate i/o upon dev_loss_tmo timeout)
changed the callback semantics of dev_loss_tmo and
terminate_rport_io such that repeated calls could be made.  This
could result in the the driver using stale (NULLed-out, in
dev_loss_tmo) data from the rport.  Correct this by addint a
simple check to ensure a valid fcport is attached.

Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:29:10 +00:00
Vladislav Bolkhovitin 7fbab4729f Revert r2020 to replace it by a better fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:21:32 +00:00
Vladislav Bolkhovitin a0c704c8c3 Cleanups and minor locking fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 19:43:19 +00:00
Bart Van Assche 3667335dca Copied and renamed the 2.6.35 in-tree files (does not build yet!).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:20:34 +00:00
Vladislav Bolkhovitin d302ce64ab Patch from Uri Yanai <Uri.Yanai@ngsoft.com> fixing handling of global events in IMMED_NOTIFY handler
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2424 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:59:41 +00:00
Vladislav Bolkhovitin 1af1e674d4 Patch from Dorit Halsadi <Dorit.Halsadi@dothill.com> and Uri Yanai <Uri.Yanai@ngsoft.com> adding NPIV support to the SCST Target driver for Qlogic 24xx/25xx Fibre Channel cards
with minor fixes.

Note: you need NPIV-supporting firmware as well as NPIV-supporting switches to use NPIV.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 18:11:22 +00:00
Vladislav Bolkhovitin b4dfb7cda6 Unsupported (yet) patch making QLA adapters behave in the target mode from the very beginning with description from Bryan Mesich <bryan.mesi
ch@ndsu.edu>.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:51:51 +00:00
Bart Van Assche afcaf14667 Further upstream kernel path conversion.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 07:23:49 +00:00
Vladislav Bolkhovitin fc2c602429 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2197 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 12:18:39 +00:00
Vladislav Bolkhovitin f284378434 Stay away from buffers overflows with too long firmware and PCI infos
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 14:01:19 +00:00
Vladislav Bolkhovitin 62564bb386 More version updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 22:04:14 +00:00
Vladislav Bolkhovitin 1f5ff3e5ed Change version on 2.1.0-pre1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 20:45:46 +00:00
Vladislav Bolkhovitin d27bbc0d15 Final version and docs update before pushing it into the stable branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 14:07:53 +00:00
Bart Van Assche 5b33692678 More upstream include path conversions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2076 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-09 15:27:54 +00:00
Bart Van Assche e302c2f306 Fixed a checkpatch complaint about trailing whitespace. This issue was introduced in r2060.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2063 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-07 07:07:21 +00:00
Vladislav Bolkhovitin c66ae1850e - get_transport_version() function changed to get target on entry
- transport versions propageted to user space handlers



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-06 21:45:48 +00:00