summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-10 01:06:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-10 01:06:43 +0000
commit2f0e3d2a376647127e9d569aa9d2ab0ae2211843 (patch)
treeb81909ac6d20e1eac9ede7cd68b04a32597bf213 /packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch
parenta8ba51336caf9272a41e3cd68531920333d19e75 (diff)
ixp400-eth: incorporate new patches from nslu2 CVS into 1.5
- three new patches from dwery: continue-if-qmgr-init-fails, int-random, stop-on-rmmod change to device name (eth vs ixp) handling from rwhitby so that is works on non-OE builds (plus debug code added to debug.patch) sanitise patches to make them easier to compare
Diffstat (limited to 'packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch')
-rw-r--r--packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch b/packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch
new file mode 100644
index 0000000000..8508790fa5
--- /dev/null
+++ b/packages/ixp425-eth/ixp400-eth-1.5/continue-if-qmgr-init-fails.patch
@@ -0,0 +1,22 @@
+tries to go on even if queue manager initialization
+fails. this is hand because you'll be allowed to
+insert ixp400_eth immediately after you have removed
+it, without re-inserting ixp400.
+
+ ixp400_eth.c | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+--- ixp400-eth/ixp400_eth.c 1970-01-01 00:00:00.000000000 +0000
++++ ixp400-eth/ixp400_eth.c 1970-01-01 00:00:00.000000000 +0000
+@@ -2850,10 +2850,7 @@ static int qmgr_init(void)
+ /* Initialise Queue Manager */
+ P_VERBOSE("Initialising Queue Manager...\n");
+ if ((res = ixQMgrInit()))
+- {
+- P_ERROR("Error initialising queue manager!\n");
+- return -1;
+- }
++ P_ERROR("Error initialising queue manager, trying to continue!\n");
+
+ TRACE;
+