xref: /openbmc/linux/drivers/char/hw_random/Kconfig (revision 367b8112)
1#
2# Hardware Random Number Generator (RNG) configuration
3#
4
5config HW_RANDOM
6	tristate "Hardware Random Number Generator Core support"
7	default m
8	---help---
9	  Hardware Random Number Generator Core infrastructure.
10
11	  To compile this driver as a module, choose M here: the
12	  module will be called rng-core.  This provides a device
13	  that's usually called /dev/hw_random, and which exposes one
14	  of possibly several hardware random number generators.
15
16	  These hardware random number generators do not feed directly
17	  into the kernel's random number generator.  That is usually
18	  handled by the "rngd" daemon.  Documentation/hw_random.txt
19	  has more information.
20
21	  If unsure, say Y.
22
23config HW_RANDOM_INTEL
24	tristate "Intel HW Random Number Generator support"
25	depends on HW_RANDOM && (X86 || IA64) && PCI
26	default HW_RANDOM
27	---help---
28	  This driver provides kernel-side support for the Random Number
29	  Generator hardware found on Intel i8xx-based motherboards.
30
31	  To compile this driver as a module, choose M here: the
32	  module will be called intel-rng.
33
34	  If unsure, say Y.
35
36config HW_RANDOM_AMD
37	tristate "AMD HW Random Number Generator support"
38	depends on HW_RANDOM && X86 && PCI
39	default HW_RANDOM
40	---help---
41	  This driver provides kernel-side support for the Random Number
42	  Generator hardware found on AMD 76x-based motherboards.
43
44	  To compile this driver as a module, choose M here: the
45	  module will be called amd-rng.
46
47	  If unsure, say Y.
48
49config HW_RANDOM_GEODE
50	tristate "AMD Geode HW Random Number Generator support"
51	depends on HW_RANDOM && X86_32 && PCI
52	default HW_RANDOM
53	---help---
54	  This driver provides kernel-side support for the Random Number
55	  Generator hardware found on the AMD Geode LX.
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called geode-rng.
59
60	  If unsure, say Y.
61
62config HW_RANDOM_N2RNG
63	tristate "Niagara2 Random Number Generator support"
64	depends on HW_RANDOM && SPARC64
65	default HW_RANDOM
66	---help---
67	  This driver provides kernel-side support for the Random Number
68	  Generator hardware found on Niagara2 cpus.
69
70	  To compile this driver as a module, choose M here: the
71	  module will be called n2-rng.
72
73	  If unsure, say Y.
74
75config HW_RANDOM_VIA
76	tristate "VIA HW Random Number Generator support"
77	depends on HW_RANDOM && X86_32
78	default HW_RANDOM
79	---help---
80	  This driver provides kernel-side support for the Random Number
81	  Generator hardware found on VIA based motherboards.
82
83	  To compile this driver as a module, choose M here: the
84	  module will be called via-rng.
85
86	  If unsure, say Y.
87
88config HW_RANDOM_IXP4XX
89	tristate "Intel IXP4xx NPU HW Random Number Generator support"
90	depends on HW_RANDOM && ARCH_IXP4XX
91	default HW_RANDOM
92	---help---
93	  This driver provides kernel-side support for the Random
94	  Number Generator hardware found on the Intel IXP4xx NPU.
95
96	  To compile this driver as a module, choose M here: the
97	  module will be called ixp4xx-rng.
98
99	  If unsure, say Y.
100
101config HW_RANDOM_OMAP
102	tristate "OMAP Random Number Generator support"
103	depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP24XX)
104	default HW_RANDOM
105 	---help---
106 	  This driver provides kernel-side support for the Random Number
107	  Generator hardware found on OMAP16xx and OMAP24xx multimedia
108	  processors.
109
110	  To compile this driver as a module, choose M here: the
111	  module will be called omap-rng.
112
113 	  If unsure, say Y.
114
115config HW_RANDOM_PASEMI
116	tristate "PA Semi HW Random Number Generator support"
117	depends on HW_RANDOM && PPC_PASEMI
118	default HW_RANDOM
119	---help---
120	  This driver provides kernel-side support for the Random Number
121	  Generator hardware found on PA Semi PWRficient SoCs.
122
123	  To compile this driver as a module, choose M here: the
124	  module will be called pasemi-rng.
125
126	  If unsure, say Y.
127
128config HW_RANDOM_VIRTIO
129	tristate "VirtIO Random Number Generator support"
130	depends on HW_RANDOM && VIRTIO
131	---help---
132	  This driver provides kernel-side support for the virtual Random Number
133	  Generator hardware.
134
135	  To compile this driver as a module, choose M here: the
136	  module will be called virtio-rng.  If unsure, say N.
137