summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/ixp400-eth-1.5/int-random.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/int-random.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/int-random.patch')
-rw-r--r--packages/ixp425-eth/ixp400-eth-1.5/int-random.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ixp425-eth/ixp400-eth-1.5/int-random.patch b/packages/ixp425-eth/ixp400-eth-1.5/int-random.patch
new file mode 100644
index 0000000000..fede9daf90
--- /dev/null
+++ b/packages/ixp425-eth/ixp400-eth-1.5/int-random.patch
@@ -0,0 +1,16 @@
+use the ethernet device interrupts to gather entropy
+
+ ixp400_eth.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- 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
+@@ -2864,7 +2864,7 @@ static int qmgr_init(void)
+
+ if (request_irq(IX_OSAL_IXP400_QM1_IRQ_LVL,
+ dev_qmgr_os_isr,
+- SA_SHIRQ,
++ SA_SHIRQ | SA_SAMPLE_RANDOM,
+ MODULE_NAME,
+ (void *)IRQ_ANY_PARAMETER))
+ {