mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Patch from Bart Van Assche <bart.vanassche@gmail.com>:
The script generate-kernel-patch generates a kernel tree based on the sources
and the in-tree kernel patches in the SCST Subversion repository. When I
submitted the first version of the generate-kernel-patch script most but not
all in-tree patches were present as separate files in the SCST Subversion
repository. The patch below moves the two remaining patches that are contained
inline in the generate-kernel-patch script to separate files. This should
make it possible to use the script on future Linux kernels without having to
modify the script itself. The patch below does not contain functional
changes, it only moves two patches out of the script.
Modified:
* scripts/generate-kernel-patch'>scripts/generate-kernel-patch
Added:
* srpt/src/Makefile.infiniband.Linux-2.6.24.patch'>srpt/src/Makefile.infiniband.Linux-2.6.24.patch
* srpt/src/Kconfig.infiniband.Linux-2.6.24.patch'>srpt/src/Kconfig.infiniband.Linux-2.6.24.patch
Also Makefile and Kconfig files were renamed (".drivers." was replaced by ".scsi.")
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -145,29 +145,11 @@ done
|
||||
|
||||
# Directory drivers/infiniband/ulp/srpt/
|
||||
|
||||
cat <<'EOF'
|
||||
diff -uprN orig/linux-2.6.24/drivers/infiniband/Kconfig linux-2.6.24/drivers/infiniband/Kconfig
|
||||
--- orig/linux-2.6.24/drivers/infiniband/Kconfig 2008-01-24 23:58:37.000000000 +0100
|
||||
+++ linux-2.6.24/drivers/infiniband/Kconfig 2008-05-09 13:55:27.000000000 +0200
|
||||
@@ -51,6 +51,8 @@
|
||||
add_patch "srpt/src/Kconfig.infiniband.Linux-${kernel_version}.patch" \
|
||||
"linux-${kernel_version}/drivers/infiniband/Kconfig"
|
||||
|
||||
source "drivers/infiniband/ulp/srp/Kconfig"
|
||||
|
||||
+source "drivers/infiniband/ulp/srpt/Kconfig"
|
||||
+
|
||||
source "drivers/infiniband/ulp/iser/Kconfig"
|
||||
|
||||
endif # INFINIBAND
|
||||
diff -uprN orig/linux-2.6.24/drivers/infiniband/Makefile linux-2.6.24/drivers/infiniband/Makefile
|
||||
--- orig/linux-2.6.24/drivers/infiniband/Makefile 2008-01-24 23:58:37.000000000 +0100
|
||||
+++ linux-2.6.24/drivers/infiniband/Makefile 2008-05-09 13:57:00.000000000 +0200
|
||||
@@ -7,4 +7,5 @@
|
||||
obj-$(CONFIG_MLX4_INFINIBAND) += hw/mlx4/
|
||||
obj-$(CONFIG_INFINIBAND_IPOIB) += ulp/ipoib/
|
||||
obj-$(CONFIG_INFINIBAND_SRP) += ulp/srp/
|
||||
+obj-$(CONFIG_INFINIBAND_SRPT) += ulp/srpt/
|
||||
obj-$(CONFIG_INFINIBAND_ISER) += ulp/iser/
|
||||
EOF
|
||||
add_patch "srpt/src/Makefile.infiniband.Linux-${kernel_version}.patch" \
|
||||
"linux-${kernel_version}/drivers/infiniband/Makefile"
|
||||
|
||||
add_file "srpt/src/Kconfig" "drivers/infiniband/ulp/srpt/Kconfig"
|
||||
|
||||
|
||||
12
srpt/src/Kconfig.infiniband.Linux-2.6.24.patch
Normal file
12
srpt/src/Kconfig.infiniband.Linux-2.6.24.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -uprN orig/linux-2.6.24/drivers/infiniband/Kconfig linux-2.6.24/drivers/infiniband/Kconfig
|
||||
--- orig/linux-2.6.24/drivers/infiniband/Kconfig 2008-01-24 23:58:37.000000000 +0100
|
||||
+++ linux-2.6.24/drivers/infiniband/Kconfig 2008-05-09 13:55:27.000000000 +0200
|
||||
@@ -51,6 +51,8 @@
|
||||
|
||||
source "drivers/infiniband/ulp/srp/Kconfig"
|
||||
|
||||
+source "drivers/infiniband/ulp/srpt/Kconfig"
|
||||
+
|
||||
source "drivers/infiniband/ulp/iser/Kconfig"
|
||||
|
||||
endif # INFINIBAND
|
||||
9
srpt/src/Makefile.infiniband.Linux-2.6.24.patch
Normal file
9
srpt/src/Makefile.infiniband.Linux-2.6.24.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
diff -uprN orig/linux-2.6.24/drivers/infiniband/Makefile linux-2.6.24/drivers/infiniband/Makefile
|
||||
--- orig/linux-2.6.24/drivers/infiniband/Makefile 2008-01-24 23:58:37.000000000 +0100
|
||||
+++ linux-2.6.24/drivers/infiniband/Makefile 2008-05-09 13:57:00.000000000 +0200
|
||||
@@ -7,4 +7,5 @@
|
||||
obj-$(CONFIG_MLX4_INFINIBAND) += hw/mlx4/
|
||||
obj-$(CONFIG_INFINIBAND_IPOIB) += ulp/ipoib/
|
||||
obj-$(CONFIG_INFINIBAND_SRP) += ulp/srp/
|
||||
+obj-$(CONFIG_INFINIBAND_SRPT) += ulp/srpt/
|
||||
obj-$(CONFIG_INFINIBAND_ISER) += ulp/iser/
|
||||
Reference in New Issue
Block a user