diff options
Diffstat (limited to 'packages/ixp425-eth/ixp400-eth-1.5.1/int-random.patch')
-rw-r--r-- | packages/ixp425-eth/ixp400-eth-1.5.1/int-random.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ixp425-eth/ixp400-eth-1.5.1/int-random.patch b/packages/ixp425-eth/ixp400-eth-1.5.1/int-random.patch new file mode 100644 index 0000000000..fede9daf90 --- /dev/null +++ b/packages/ixp425-eth/ixp400-eth-1.5.1/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)) + { |