Subject: CVS commit: src/sys/arch/x86/pci
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 10/16/2007 22:53:11
Module Name:	src
Committed By:	joerg
Date:		Tue Oct 16 22:53:11 UTC 2007

Modified Files:
	src/sys/arch/x86/pci: pchb_rnd.c

Log Message:
Make the check for a working RNG a bit more aggressive. Try to read
10 samples and bail out if there was a timeout to get either of those
within 10ms or if they are all 0xff. Both are good indicators of a
missing RNG.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/x86/pci/pchb_rnd.c

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