diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:13:00 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:29 -0400 |
commit | d805a78603bb489d71a12466e8f29c5e9837e50a (patch) | |
tree | 12d7273a3cbd4f28e833232e9d884b6c3b7f904e /drivers | |
parent | bad3118fcdeb4b7b5bf18cb40b2548cf891646b2 (diff) |
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')
-rw-r--r-- | drivers/char/hw_random/Kconfig | 15 | ||||
-rw-r--r-- | drivers/watchdog/Kconfig | 4 |
2 files changed, 19 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 | |||
222 | module will be called ppc4xx-rng. | 222 | module will be called ppc4xx-rng. |
223 | 223 | ||
224 | If unsure, say N. | 224 | If unsure, say N. |
225 | |||
226 | config UML_RANDOM | ||
227 | depends on UML | ||
228 | tristate "Hardware random number generator" | ||
229 | help | ||
230 | This option enables UML's "hardware" random number generator. It | ||
231 | attaches itself to the host's /dev/random, supplying as much entropy | ||
232 | as the host has, rather than the small amount the UML gets from its | ||
233 | own drivers. It registers itself as a standard hardware random number | ||
234 | generator, major 10, minor 183, and the canonical device name is | ||
235 | /dev/hwrng. | ||
236 | The way to make use of this is to install the rng-tools package | ||
237 | (check your distro, or download from | ||
238 | http://sourceforge.net/projects/gkernel/). rngd periodically reads | ||
239 | /dev/hwrng and injects the entropy into /dev/random. | ||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 86b0735e6aa0..340b2b3e15d6 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -1174,6 +1174,10 @@ config XEN_WDT | |||
1174 | by Xen 4.0 and newer. The watchdog timeout period is normally one | 1174 | by Xen 4.0 and newer. The watchdog timeout period is normally one |
1175 | minute but can be changed with a boot-time parameter. | 1175 | minute but can be changed with a boot-time parameter. |
1176 | 1176 | ||
1177 | config UML_WATCHDOG | ||
1178 | tristate "UML watchdog" | ||
1179 | depends on UML | ||
1180 | |||
1177 | # | 1181 | # |
1178 | # ISA-based Watchdog Cards | 1182 | # ISA-based Watchdog Cards |
1179 | # | 1183 | # |