Let DAC960 supply entropy to random pool]
Matt Mackall
Tested-by Anders K. PedersenAdd disk entropy in DAC960 request completions.
Signed-off-by Matt Mackall <[email protected]>
Tested-by Anders K. Pedersen <[email protected]>
drivers/block/DAC960.c +2 -1
@@ -41,6 +41,7 @@#include <linux/timer.h> #include <linux/pci.h> #include <linux/init.h> +#include <linux/random.h> #include <asm/io.h> #include <asm/uaccess.h> #include "DAC960.h"
@@ -3463,7 +3464,7 @@ static inline boolean DAC960_ProcessComp Command->SegmentCount, Command->DmaDirection);if (!end_that_request_first (Request, UpToDate, Command->BlockCount)) { - +add_disk_randomness (Request->rq_disk);end_that_request_last (Request, UpToDate);if (Command->Completion) {
Signature · 1 line
Mathematics is the supreme nostalgia of our time.