]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] fix Intel RNG detection
authorJan Beulich <jbeulich@novell.com>
Sat, 21 Oct 2006 16:23:38 +0000 (09:23 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:49 +0000 (17:33 -0800)
commit641dd002d20760c891c3d7c3c6890e537ebddefd
tree80b15357997e387ed0118cc38b4ad5b361f8a6bb
parentf4a7d494bda500906e505aef6e043a4ed3d39d3c
[PATCH] fix Intel RNG detection

Previously, since determination whether there was an Intel random number
generator was based on a single bit, on systems with a matching bridge
device but without a firmware hub, there was a 50% chance that the code
would incorrectly decide that the system had an RNG.  This patch adds
detection of the firmware hub to better qualify the existence of an RNG.

There is one issue with the patch: I was unable to determine the LPC
equivalent for the PCI bridge 8086:2430 (since the old code didn't care
about which of the many devices provided by the ICH/ESB it was chose to use
the PCI bridge device, but the FWH settings live in the LPC device, so the
device list needed to be changed).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/char/hw_random/intel-rng.c