via-rng: enable secondary noise source on CPUs where it is present
authorDave Jones <davej@redhat.com>
Wed, 6 Feb 2008 09:37:13 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:05 +0000 (10:41 -0800)
commit11025e855235144271a0e447e3650b203f8215f4
tree5a7ef8e0d286a4609fcda82b27a5ac5a82d1eedd
parentece95912db94d98e202cbedb8f35206deb29d83d
via-rng: enable secondary noise source on CPUs where it is present

In the padlock spec:

"SRC Bits[9:8] Noise source select (I): These bits control the two noise
 sources on the processor that input bits to the accumulation buffers.
 On Nehemiah processors prior to stepping 8, these bits are reserved
 and undefined. The default RESET state is both bits = 0."

Signed-off-by: Dave Jones <davej@redhat.com>
Tested-by: Udo van den Heuvel <udovdh@xs4all.nl>
Cc: Michael Buesch <mb@bu3sch.de>
Cc: folkert van Heusden <folkert@vanheusden.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/hw_random/via-rng.c