summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-06-20 08:28:06 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-06-20 08:28:06 +0000
commitadf95c2d033a9f9adf1c5f1963441635252216e3 (patch)
tree4f94e6fc7579636dd82b3cd7fd1cd1ba2664d633 /openwrt/package
parentfbacc12b30f5bc2082b1c9065f6a94f28b31b520 (diff)
downloadmtk-20170518-adf95c2d033a9f9adf1c5f1963441635252216e3.zip
mtk-20170518-adf95c2d033a9f9adf1c5f1963441635252216e3.tar.gz
mtk-20170518-adf95c2d033a9f9adf1c5f1963441635252216e3.tar.bz2
be politically correct
SVN-Revision: 4019
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/openswan/patches/102-new_module_param.patch4
-rw-r--r--openwrt/package/switch/src/switch-adm.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/openswan/patches/102-new_module_param.patch b/openwrt/package/openswan/patches/102-new_module_param.patch
index 1e133e6..80c4a2f 100644
--- a/openwrt/package/openswan/patches/102-new_module_param.patch
+++ b/openwrt/package/openswan/patches/102-new_module_param.patch
@@ -5,7 +5,7 @@ diff -ruN openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c openswan-2.4.5-
static int keymaxbits=0;
#if defined(CONFIG_KLIPS_ENC_AES_MODULE)
MODULE_AUTHOR("JuanJo Ciarlante <jjo-ipsec@mendoza.gov.ar>");
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
+module_param(debug_aes, int, 0);
+module_param(test_aes, int, 0);
+module_param(excl_aes, int, 0);
@@ -26,7 +26,7 @@ diff -ruN openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c openswan-2.4.5-
#else
static int auth_id=9;
#endif
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
+module_param(auth_id, int, 0);
+#else
MODULE_PARM(auth_id, "i");
diff --git a/openwrt/package/switch/src/switch-adm.c b/openwrt/package/switch/src/switch-adm.c
index 921ad50..083b6eb 100644
--- a/openwrt/package/switch/src/switch-adm.c
+++ b/openwrt/package/switch/src/switch-adm.c
@@ -49,7 +49,7 @@ static int force = 0;
MODULE_AUTHOR("Felix Fietkau <openwrt@nbd.name>");
MODULE_LICENSE("GPL");
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
module_param(eecs, int, 0);
module_param(eesk, int, 0);
module_param(eedi, int, 0);