diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch
index 6f981d3d2..08470c7f4 100755
--- a/scripts/generate-kernel-patch
+++ b/scripts/generate-kernel-patch
@@ -24,13 +24,12 @@
########################
function usage {
- echo "Usage: $0 [-h] [-m] [-p
] [-q] , where: "
+ echo "Usage: $0 [-h] [-m] [-p ] , where: "
echo " -h - show this text"
echo " -m - add mpt target driver"
echo " -n - do not delete code disabled via preprocessor statements"
echo " -p - generate multiple patches instead of one big patch into"\
"the specified directory."
- echo " -q - add qla2x00t driver"
}
# Convert an existing patch.
@@ -140,7 +139,7 @@ function in_separate_patch {
# Argument verification #
#########################
-qla2x00t="false"
+qla2x00t="true"
srpt="true"
mpt_scst="false"
multiple_patches="false"
@@ -153,7 +152,7 @@ if [ ! -e scst -o ! -e iscsi-scst -o ! -e srpt -o ! -e scst_local ]; then
exit 1
fi
-set -- $(/usr/bin/getopt hlmnp:q "$@")
+set -- $(/usr/bin/getopt hlmnp: "$@")
while [ "$1" != "${1#-}" ]
do
case "$1" in
@@ -165,7 +164,6 @@ do
shift
;;
'-p') multiple_patches="true"; patchdir="$2"; shift; shift;;
- '-q') qla2x00t="true"; shift;;
'--') shift;;
*) usage; exit 1;;
esac
diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests
index 24b74ec8b..e6c63510b 100755
--- a/scripts/run-regression-tests
+++ b/scripts/run-regression-tests
@@ -166,8 +166,10 @@ function compile_scst_unpatched {
&& if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \
- && make -C srpt -s clean \
- && make -C srpt -s ) \
+ && make -C qla2x00t -s clean \
+ && make -C qla2x00t -s \
+ && make -C srpt -s clean \
+ && make -C srpt -s ) \
&> "${outputfile}"
then
echo "OK"
@@ -198,8 +200,10 @@ function compile_scst_patched {
&& if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \
- && make -C srpt -s clean \
- && make -C srpt -s ) \
+ && make -C qla2x00t -s clean \
+ && make -C qla2x00t -s \
+ && make -C srpt -s clean \
+ && make -C srpt -s ) \
&> "${outputfile}"
then
echo "OK"