summaryrefslogtreecommitdiff
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
parent9c685878a4f054562e8a2bddcf195ae44aac3484 (diff)
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...
-rw-r--r--packages/ixp4xx/ixp4xx-csr-2.1/livelock.patch19
-rw-r--r--packages/ixp4xx/ixp4xx-csr_2.1.bb3
2 files changed, 21 insertions, 1 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");
diff --git a/packages/ixp4xx/ixp4xx-csr_2.1.bb b/packages/ixp4xx/ixp4xx-csr_2.1.bb
index 53cd2ba8fb..567728b40f 100644
--- a/packages/ixp4xx/ixp4xx-csr_2.1.bb
+++ b/packages/ixp4xx/ixp4xx-csr_2.1.bb
@@ -35,10 +35,11 @@ SRC_URI += "file://mii-debug.patch;patch=1"
SRC_URI += "file://rtl8201-support.patch;patch=1"
SRC_URI += "file://gcc4.patch;patch=1"
SRC_URI += "file://oe-makefile.patch;patch=1"
+SRC_URI += "file://livelock.patch;patch=1"
DEPENDS = "ixp-osal"
S = "${WORKDIR}/ixp400_xscale_sw"
-PR = "r9"
+PR = "r10"
COMPATIBLE_HOST = "^arm.*-linux.*"