summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:13:00 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:29 +0100
commitd805a78603bb489d71a12466e8f29c5e9837e50a (patch)
tree12d7273a3cbd4f28e833232e9d884b6c3b7f904e /drivers/char
parentbad3118fcdeb4b7b5bf18cb40b2548cf891646b2 (diff)
downloadlinux-stable-d805a78603bb489d71a12466e8f29c5e9837e50a.tar.gz
linux-stable-d805a78603bb489d71a12466e8f29c5e9837e50a.tar.bz2
linux-stable-d805a78603bb489d71a12466e8f29c5e9837e50a.zip
um: clean Kconfig up a bit
* kill duplicates with drivers/char/Kconfig * take watchdog one into drivers/watchdog/Kconfig * take mmapper to arch/um/Kconfig.um * rename Kconfig.char menu to "UML Character Devices" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 1d2ebc7a4947..e5cd79c5adf1 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -222,3 +222,18 @@ config HW_RANDOM_PPC4XX
module will be called ppc4xx-rng.
If unsure, say N.
+
+config UML_RANDOM
+ depends on UML
+ tristate "Hardware random number generator"
+ help
+ This option enables UML's "hardware" random number generator. It
+ attaches itself to the host's /dev/random, supplying as much entropy
+ as the host has, rather than the small amount the UML gets from its
+ own drivers. It registers itself as a standard hardware random number
+ generator, major 10, minor 183, and the canonical device name is
+ /dev/hwrng.
+ The way to make use of this is to install the rng-tools package
+ (check your distro, or download from
+ http://sourceforge.net/projects/gkernel/). rngd periodically reads
+ /dev/hwrng and injects the entropy into /dev/random.