aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ixp4xx/ixp4xx-csr-2.1
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-09 12:49:07 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-09 12:49:07 +0000
commit7780892de1e4ea7f50746e735c50e6d14f8199ef (patch)
treec66a74fad8051fd73da568c2a99cf1780ee3a49d /packages/ixp4xx/ixp4xx-csr-2.1
parent9c685878a4f054562e8a2bddcf195ae44aac3484 (diff)
downloadopenembedded-7780892de1e4ea7f50746e735c50e6d14f8199ef.tar.gz
ixp4xx-csr: added patch to make paremeter livelock_dispatcher non-static
needed to compile with gcc 4.1.1; without it one gets ixp400: falsely claims to have parameter livelock_dispatcher and the module does not load...
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr-2.1')
-rw-r--r--packages/ixp4xx/ixp4xx-csr-2.1/livelock.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr-2.1/livelock.patch b/packages/ixp4xx/ixp4xx-csr-2.1/livelock.patch
new file mode 100644
index 0000000000..0b4e4ba026
--- /dev/null
+++ b/packages/ixp4xx/ixp4xx-csr-2.1/livelock.patch
@@ -0,0 +1,19 @@
+*** ixp400_xscale_sw/src/oslinux/IxLinuxInit.c.orig Sun Sep 25 05:59:03 2005
+--- ixp400_xscale_sw/src/oslinux/IxLinuxInit.c Fri Jun 9 14:07:06 2006
+***************
+*** 91,97 ****
+
+
+ /* Module parameters */
+! static int livelock_dispatcher = 0;/* default: don't use livelock dispatcher*/
+
+ MODULE_PARM(livelock_dispatcher, "i");
+ MODULE_PARM_DESC(livelock_dispatcher, "If non-zero, use the livelock prevention qmgr dispatcher");
+--- 91,97 ----
+
+
+ /* Module parameters */
+! int livelock_dispatcher = 0;/* default: don't use livelock dispatcher*/
+
+ MODULE_PARM(livelock_dispatcher, "i");
+ MODULE_PARM_DESC(livelock_dispatcher, "If non-zero, use the livelock prevention qmgr dispatcher");