Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   riastradh
Date:           Sun May 17 00:54:05 UTC 2020

Modified Files:
        src/sys/dev/pci: hifn7751.c hifn7751var.h

Log Message:
Rework hifn(4) RNG logic.

Previously we would read 34 bits of entropy into the pool and stop,
never to try again.  This change finishes the conversion to an
on-demand source, although we still use a callout to (a) try again in
another second if the 7811 FIFO was emptied, and (b) wait at least
0.4 sec after we start the RNG to read anything from it as the
alleged documentation allegedly recommends.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/hifn7751.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/hifn7751var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index