From 54b8671bd25722d397706ab1ef82ffc1faed6d06 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 19 Nov 2008 20:32:13 +0000 Subject: [PATCH] [kernel] restore accidentally deleted ofc patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13293 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../970-ocf_kbuild_integration.patch | 25 ++++++++++++++++++++++ .../970-ocf_kbuild_integration.patch | 25 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.26/970-ocf_kbuild_integration.patch create mode 100644 target/linux/generic-2.6/patches-2.6.27/970-ocf_kbuild_integration.patch diff --git a/target/linux/generic-2.6/patches-2.6.26/970-ocf_kbuild_integration.patch b/target/linux/generic-2.6/patches-2.6.26/970-ocf_kbuild_integration.patch new file mode 100644 index 0000000000..3057307f27 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.26/970-ocf_kbuild_integration.patch @@ -0,0 +1,25 @@ +--- a/crypto/Kconfig ++++ b/crypto/Kconfig +@@ -675,6 +675,8 @@ config CRYPTO_PRNG + for cryptographic modules. Uses the Algorithm specified in + ANSI X9.31 A.2.4 + ++source "crypto/ocf/Kconfig" ++ + source "drivers/crypto/Kconfig" + + endif # if CRYPTO +--- a/crypto/Makefile ++++ b/crypto/Makefile +@@ -73,6 +73,11 @@ obj-$(CONFIG_CRYPTO_PRNG) += prng.o + obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o + + # ++# OCF ++# ++obj-$(CONFIG_OCF_OCF) += ocf/ ++ ++# + # generic algorithms and the async_tx api + # + obj-$(CONFIG_XOR_BLOCKS) += xor.o diff --git a/target/linux/generic-2.6/patches-2.6.27/970-ocf_kbuild_integration.patch b/target/linux/generic-2.6/patches-2.6.27/970-ocf_kbuild_integration.patch new file mode 100644 index 0000000000..243708f7ed --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.27/970-ocf_kbuild_integration.patch @@ -0,0 +1,25 @@ +--- a/crypto/Kconfig ++++ b/crypto/Kconfig +@@ -666,6 +666,8 @@ config CRYPTO_LZO + help + This is the LZO algorithm. + ++source "crypto/ocf/Kconfig" ++ + source "drivers/crypto/Kconfig" + + endif # if CRYPTO +--- a/crypto/Makefile ++++ b/crypto/Makefile +@@ -73,6 +73,11 @@ obj-$(CONFIG_CRYPTO_LZO) += lzo.o + obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o + + # ++# OCF ++# ++obj-$(CONFIG_OCF_OCF) += ocf/ ++ ++# + # generic algorithms and the async_tx api + # + obj-$(CONFIG_XOR_BLOCKS) += xor.o -- 2.11.0