Commit Graph

1992 Commits

Author SHA1 Message Date
Bart Van Assche
fec7afefda More cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2166 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 18:03:20 +00:00
Bart Van Assche
45738b469c Follow-up for previous commit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2164 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:51:47 +00:00
Bart Van Assche
e20ac8c3d2 Removed MODE_TARGET.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2163 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:51:10 +00:00
Bart Van Assche
275dfd58f7 Added more source files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2162 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:49:26 +00:00
Bart Van Assche
0ef5b0169a More cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:40:51 +00:00
Bart Van Assche
be9cb5dd17 Cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:33:50 +00:00
Mark Buechler
20cdd97fc9 - Fix attributes with no values.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2159 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:30:52 +00:00
Bart Van Assche
ab505854c1 Removed an unused function.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2158 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:28:10 +00:00
Bart Van Assche
46070c957e Fixed Makefile.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2157 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:27:42 +00:00
Bart Van Assche
20098b3634 Added scsi_tgt kernel module source code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2156 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:00:46 +00:00
Bart Van Assche
14638a27a5 Cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2155 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 16:56:56 +00:00
Bart Van Assche
ac76a0b85a Fixed three copy/paste errors.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2154 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 16:56:29 +00:00
Mark Buechler
88634a4383 - Add example for sysfs version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2152 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 16:27:37 +00:00
Bart Van Assche
091b1da24c Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-21 10:03:40 +00:00
Bart Van Assche
d28b944661 Reverted an unintended behavior change.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2150 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-20 18:38:58 +00:00
Richard Sharpe
2fc8c5ea79 Fix the AEN code, particularly the work function stuff to work with older
versions of the kernel. Also, use correct specifiers in some places, ie %zd 
where a negative number could be printed.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2149 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-20 14:30:00 +00:00
Bart Van Assche
5cf473bff1 Corrected patch descriptions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2148 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-19 09:04:25 +00:00
Bart Van Assche
350aa065cb More diff minimizing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2147 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 13:31:42 +00:00
Bart Van Assche
372e02c368 Generate ibmvstgt patch automatically.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 13:12:18 +00:00
Bart Van Assche
cc2a8a97c0 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 12:59:26 +00:00
Bart Van Assche
a43faee6a0 Diff minimizing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 12:58:45 +00:00
Bart Van Assche
c55e7712ef Removed ibmvscsi.h again.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 12:47:18 +00:00
Bart Van Assche
3abff13107 Moved original source files to a subdirectory.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2142 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 12:41:15 +00:00
Bart Van Assche
26e64631a0 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2141 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 12:40:26 +00:00
Bart Van Assche
9f20d45776 Version number update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-17 06:02:51 +00:00
Richard Sharpe
25520184a4 A small coding style fix, plus a specifier fix in an ifdef block. The coding
style fix conforms to the kernel coding standard and uses if (!xxx) rather
than if (NULL == xxx).


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2138 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-17 04:00:15 +00:00
Vladislav Bolkhovitin
e696ce50d6 Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2136 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 18:55:52 +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
Bart Van Assche
2f52c70221 Modified nightly build config.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 11:45:55 +00:00
Bart Van Assche
7ef57f0f9e Bug fix: made sure that the patch generated by command-line option -u actually compiles.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 10:56:37 +00:00
Vladislav Bolkhovitin
53d2c612b7 Small improvement: scst_get_sg_page_first()/scst_get_sg_page_next() added to avoid page_address()/virt_to_page() pair for cases, where only pages are needed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-15 19:18:47 +00:00
Bart Van Assche
f725c61c7b Source code comment spelling fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-15 18:04:26 +00:00
Vladislav Bolkhovitin
669c380211 The patch below makes it again possible to build SCST against the 2.6.23
or before kernel headers and also suppresses several compiler warnings
about possibly uninitialized variables.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-15 18:00:17 +00:00
Bart Van Assche
35dc0e55f2 Removed two superfluous semicolons.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-15 07:33:41 +00:00
Bart Van Assche
8479d63551 Added locking-per-lun patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 18:21:31 +00:00
Bart Van Assche
cb36024b63 Builds again against kernel 2.6.23 and before.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 10:55:10 +00:00
Bart Van Assche
25cb08ed2f Fixed a checkpatch complaint about 'return is not a function'.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 08:42:25 +00:00
Bart Van Assche
19ac548c1a Fixed a checkpatch complaint about whitespace and a compiler warning about a format string mismatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2124 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 07:40:12 +00:00
Richard Sharpe
3d41efd784 Add an #ifndef CONFIG_SCST_PROC around the checking for add_default_tgt so that
we use the old PROC behavior.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2122 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 02:43:33 +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
9a501b9f1c Forgotten enabling iSCSI target driver noticed by Alex Crow <alex@nanogherkin.com> added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2119 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:36:22 +00:00
Vladislav Bolkhovitin
11fade176a Scan host only if it has LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2117 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:15:02 +00:00
Vladislav Bolkhovitin
69540954d5 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2116 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:10:13 +00:00
Vladislav Bolkhovitin
f6a2a6b4db CDB splitting added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2115 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:02:35 +00:00
Vladislav Bolkhovitin
d5e230f260 Building TAGS added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:01:41 +00:00
Vladislav Bolkhovitin
98b09a7a26 SG chaining implemented
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 20:47:44 +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
Bart Van Assche
5ee4257971 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2111 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 18:57:39 +00:00
Richard Sharpe
d4d9b4c5ed I think this fixes the problem Vlad had after he reworked scst_local.c but he
seems to have removed the setting of hpnt->max_id, so it seems the default is
7. Set it to 0 because we only want one ID on the device, and we don't do
any checking ...



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-12 20:28:47 +00:00
Bart Van Assche
f5736f2b6a ib_srpt performance optimization.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-12 18:57:04 +00:00