aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-04-08 08:27:31 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-04-16 08:40:12 -0400
commitdc64ef00878b3d45567b2bcfcd2b5243d3d2ccb1 (patch)
tree3c2d2c76868cefd6adc0b210f693c3b10e5a3060 /drivers/char/hw_random
parent2496be2eddd33e9d478d591501c97831554ef469 (diff)
hwrng: Move UML_RANDOM at the last position
UML_RANDOM is the only hardware random number generator option which does not depend on HW_RANDOM. Having it in the middle of the other options breaks the alignment in "make menuconfig". Move it at the last position to avoid that. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Matt Mackall <mpm@selenic.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/Kconfig30
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 2f2b08457c67..ef5010605659 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -275,21 +275,6 @@ config HW_RANDOM_PPC4XX
275 275
276 If unsure, say N. 276 If unsure, say N.
277 277
278config UML_RANDOM
279 depends on UML
280 tristate "Hardware random number generator"
281 help
282 This option enables UML's "hardware" random number generator. It
283 attaches itself to the host's /dev/random, supplying as much entropy
284 as the host has, rather than the small amount the UML gets from its
285 own drivers. It registers itself as a standard hardware random number
286 generator, major 10, minor 183, and the canonical device name is
287 /dev/hwrng.
288 The way to make use of this is to install the rng-tools package
289 (check your distro, or download from
290 http://sourceforge.net/projects/gkernel/). rngd periodically reads
291 /dev/hwrng and injects the entropy into /dev/random.
292
293config HW_RANDOM_PSERIES 278config HW_RANDOM_PSERIES
294 tristate "pSeries HW Random Number Generator support" 279 tristate "pSeries HW Random Number Generator support"
295 depends on HW_RANDOM && PPC64 && IBMVIO 280 depends on HW_RANDOM && PPC64 && IBMVIO
@@ -352,3 +337,18 @@ config HW_RANDOM_MSM
352 module will be called msm-rng. 337 module will be called msm-rng.
353 338
354 If unsure, say Y. 339 If unsure, say Y.
340
341config UML_RANDOM
342 depends on UML
343 tristate "Hardware random number generator"
344 help
345 This option enables UML's "hardware" random number generator. It
346 attaches itself to the host's /dev/random, supplying as much entropy
347 as the host has, rather than the small amount the UML gets from its
348 own drivers. It registers itself as a standard hardware random number
349 generator, major 10, minor 183, and the canonical device name is
350 /dev/hwrng.
351 The way to make use of this is to install the rng-tools package
352 (check your distro, or download from
353 http://sourceforge.net/projects/gkernel/). rngd periodically reads
354 /dev/hwrng and injects the entropy into /dev/random.