Commit Graph

146 Commits

Author SHA1 Message Date
Bart Van Assche
0ff36ae2e2 Unbreak the nightly build after the procfs to sysfs switch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2047 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-04 08:17:55 +00:00
Vladislav Bolkhovitin
716107a964 Docs updates before making the sys interface default
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2039 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-03 16:38:19 +00:00
Bart Van Assche
c02b6f3a83 Added patch 116774.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1991 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 18:36:19 +00:00
Bart Van Assche
5b01afdd0a Added a header.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1984 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 10:03:00 +00:00
Bart Van Assche
e85d77e5b7 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 09:44:19 +00:00
Bart Van Assche
010eeb258f Added more error checking.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1968 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 09:23:25 +00:00
Bart Van Assche
a738ab6d51 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1967 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 09:14:53 +00:00
Bart Van Assche
4c2d1b2a1d Bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-17 19:03:44 +00:00
Bart Van Assche
2fd1a2ea1f Don't complain when the fcst patch series file is missing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1935 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-05 07:55:26 +00:00
Bart Van Assche
a24bd6962a Exclude fcst from the sparse test build if the fcst patch series file is missing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 07:43:57 +00:00
Bart Van Assche
a6b0c914b8 Pick the proper fcst patch series file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1915 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:32:42 +00:00
Bart Van Assche
a504344cee Bug fix: process undefined RHEL_MAJOR / RHEL_MINOR macros properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1909 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 18:25:47 +00:00
Bart Van Assche
5c6a0c9e17 Fixed bug in 'svn status -v' output parser.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1856 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 07:23:26 +00:00
Bart Van Assche
3b5d4ea5fa Fixed a copy/paste error.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1850 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-21 15:21:06 +00:00
Bart Van Assche
427dadcb74 Enabled endianness checks.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-16 18:53:25 +00:00
Bart Van Assche
b97a6bbbf2 Don't run patch -p1 --dry-run on the generated kernel patch because this fails
for patches that depend on each other, e.g. the fcst in-tree patches.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:55:48 +00:00
Bart Van Assche
566050b610 Obtain fcst in-tree kernel patch filenames from fcst/linux-patches/series-2.6.33-rc8.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:54:14 +00:00
Bart Van Assche
493ad888d5 Added in-tree fcst patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-11 16:12:54 +00:00
Bart Van Assche
5e95622983 Bug fix: does no longer attempt to patch kernels for which there is no kernel patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-30 06:31:39 +00:00
Bart Van Assche
05888f9db0 Un-break the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-16 18:24:56 +00:00
Vladislav Bolkhovitin
ff6d116e49 Minor mainline kernel related fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-13 17:25:45 +00:00
Bart Van Assche
12b1d9d57e Changes:
- Process the pattern [01] && defined(...) properly.
- Added command-line option -d (debug) to generate-kernel-patch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-04 13:27:24 +00:00
Bart Van Assche
5dc06c26de scripts/run-regression-tests works now for the 2.6.33 kernel too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 17:32:38 +00:00
Bart Van Assche
d50a02767d Added fcst code in generate-kernel-patch output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1517 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-21 09:00:20 +00:00
Bart Van Assche
9b82ea19be Works now when started with a relative path too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-15 19:09:48 +00:00
Bart Van Assche
9c8f290140 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-15 17:34:22 +00:00
Bart Van Assche
2032370cca svn merge -c1492 https://scst.svn.sourceforge.net/svnroot/scst/branches/srpt-separate-rx-tx-buffers/scripts
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-07 09:06:03 +00:00
Bart Van Assche
30fef168be Moved comma's in table header to the proper place.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1474 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-17 17:36:50 +00:00
Vladislav Bolkhovitin
23accb2e12 When converting the SCST source code into a series of upstream patches, SCST
is built via the kbuild infastructure. In kernel version 2.6.24 (commit
f77bf01425b11947eeb3b5b54685212c302741b8) the kbuild variable ccflags-y has
been introduced and the use of EXTRA_CFLAGS in kbuild makefiles has been
deprecated. The patch below converts SCST's in-tree makefiles such that these
use ccflags-y instead of EXTRA_CFLAGS when generating kernel patches for
kernel 2.6.24 or later.

Additionally, this patch removes the "default n" from the file
scst/kernel/in-tree/Kconfig.scst since this statement is superfluous.

The patch below has been tested by verifying the output of the following
command:
for ((v=23;v<=32;v++)); do rm -rf re* && scripts/run-regression-tests 2.6.$v; done

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-11 19:16:38 +00:00
Bart Van Assche
af5ae6eeb7 Do not try to include files marked for deletion.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-04 20:05:53 +00:00
Bart Van Assche
4a72d7efa3 Added command-line option -w.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 13:17:14 +00:00
Bart Van Assche
7f1e235150 Added command-line options -m and -M.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-04 12:52:17 +00:00
Bart Van Assche
a907dc6d2e Made sure that all double blank lines are converted into single blank lines.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:18:03 +00:00
Bart Van Assche
e63fbfd2f0 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:17:13 +00:00
Bart Van Assche
a068429f5d Delete double blank lines from the input.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:54:11 +00:00
Bart Van Assche
9389987264 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:43:22 +00:00
Bart Van Assche
12c4889bfa Option -f is now a per-kernel option instead of a global option.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:28:02 +00:00
Bart Van Assche
9d89f0a77f Updated copyright statement.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:27:17 +00:00
Bart Van Assche
9b1c4bd639 TRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
when option -u has been specified.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:26:49 +00:00
Bart Van Assche
0c9d80e58e - TRACE_EXIT_HRES() statements are now also filtered.
- Hunk headers are now updated properly. 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:25:10 +00:00
Bart Van Assche
4b26187063 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 12:39:10 +00:00
Bart Van Assche
a0aec0ddc1 Added per-kernel options -nc and -ns, which allow to disable the
checkpatch and the sparse run respectively.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:33:09 +00:00
Bart Van Assche
0c3c7bc193 run-regression-tests:
- Adding the suffix "-u" to a kernel version will make the tests to be run
  with generate-kernel-patch -u ${kernel_version} instead of
  generate-kernel-patch ${kernel_version}.
generate-kernel-patch:
- sBUG(...) and sBUG_ON(...) are now replaced by BUG(...) and BUG_ON(...)
  respectively.
- Option -n does no longer disable the above substitution.
- Source file scst/src/scst_proc.c is now excluded when option -u is specified.
specialize-patch:
- Replaced variable delete_disabled_code by blank_deleted_lines. While setting
  the former variable had the effect of deleting disabled code, the latter
  has the effect of replacing disabled code by blank lines.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:46:40 +00:00
Bart Van Assche
51892c42d8 The generate-kernel-patch option -u does now enable #undef CONFIG_SCST_PROC.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 07:48:44 +00:00
Bart Van Assche
b08548b174 Added debug2perf and disable_proc configurations to the regression tests.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 10:57:36 +00:00
Bart Van Assche
f1c41721ea Re-enabled the debug2release build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:14:47 +00:00
Bart Van Assche
ef11d133df Prepared switch to "make debug2release".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:05:21 +00:00
Bart Van Assche
64803db9f1 When command-line option -u is passed to scripts/generate-kernel-patch,
undefine the preprocessor symbol
CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 18:26:19 +00:00
Bart Van Assche
a8414808ab Only extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 20:03:39 +00:00
Bart Van Assche
7c9a154e05 Added support for continued lines.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:45:35 +00:00