summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/ixp400-eth-1.5.1/int-random.patch
blob: fede9daf908b6bff3b002f2766329827c336305a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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))
     {