summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-06-25 04:20:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-25 04:20:16 +0000
commit65d06317f3624044da9abc872a854136aefd59bd (patch)
treeb400f08afbf728958114c31e93805fa7a6bd8432 /packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch
parent238722e5b137d0ad7ad7b6cc13043744d1274d35 (diff)
ixp4xx-csr: Fixed the .bb so that the 2.1.1 patch is actually applied, but unfortunately it now doesn't build.
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch')
-rw-r--r--packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch b/packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch
index c61fcc00d3..6472ef8b05 100644
--- a/packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch
+++ b/packages/ixp4xx/ixp4xx-csr-2.1.1/module-param.patch
@@ -5,10 +5,10 @@ Index: ixp400_xscale_sw/src/oslinux/IxLinuxInit.c
===================================================================
--- ixp400_xscale_sw.orig/src/oslinux/IxLinuxInit.c
+++ ixp400_xscale_sw/src/oslinux/IxLinuxInit.c
-@@ -93,7 +93,11 @@
- /* Module parameters */
- static int livelock_dispatcher = 0;/* default: don't use livelock dispatcher*/
-
+@@ -103,7 +103,11 @@
+ #if KERNEL_VERSION(2,6,0) <= LINUX_VERSION_CODE
+ MODULE_VERSION("2.1.1");
+ #endif
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16)
MODULE_PARM(livelock_dispatcher, "i");
+#else