lib: add GENERIC_PCI_IOMAP
[deliverable/linux.git] / lib / Kconfig
1 #
2 # Library configuration
3 #
4
5 config BINARY_PRINTF
6 def_bool n
7
8 menu "Library routines"
9
10 config RAID6_PQ
11 tristate
12
13 config BITREVERSE
14 tristate
15
16 config RATIONAL
17 boolean
18
19 config GENERIC_FIND_FIRST_BIT
20 bool
21
22 config GENERIC_PCI_IOMAP
23 bool
24
25 config GENERIC_IOMAP
26 bool
27 select GENERIC_PCI_IOMAP
28
29 config CRC_CCITT
30 tristate "CRC-CCITT functions"
31 help
32 This option is provided for the case where no in-kernel-tree
33 modules require CRC-CCITT functions, but a module built outside
34 the kernel tree does. Such modules that use library CRC-CCITT
35 functions require M here.
36
37 config CRC16
38 tristate "CRC16 functions"
39 help
40 This option is provided for the case where no in-kernel-tree
41 modules require CRC16 functions, but a module built outside
42 the kernel tree does. Such modules that use library CRC16
43 functions require M here.
44
45 config CRC_T10DIF
46 tristate "CRC calculation for the T10 Data Integrity Field"
47 help
48 This option is only needed if a module that's not in the
49 kernel tree needs to calculate CRC checks for use with the
50 SCSI data integrity subsystem.
51
52 config CRC_ITU_T
53 tristate "CRC ITU-T V.41 functions"
54 help
55 This option is provided for the case where no in-kernel-tree
56 modules require CRC ITU-T V.41 functions, but a module built outside
57 the kernel tree does. Such modules that use library CRC ITU-T V.41
58 functions require M here.
59
60 config CRC32
61 tristate "CRC32 functions"
62 default y
63 select BITREVERSE
64 help
65 This option is provided for the case where no in-kernel-tree
66 modules require CRC32 functions, but a module built outside the
67 kernel tree does. Such modules that use library CRC32 functions
68 require M here.
69
70 config CRC7
71 tristate "CRC7 functions"
72 help
73 This option is provided for the case where no in-kernel-tree
74 modules require CRC7 functions, but a module built outside
75 the kernel tree does. Such modules that use library CRC7
76 functions require M here.
77
78 config LIBCRC32C
79 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
80 select CRYPTO
81 select CRYPTO_CRC32C
82 help
83 This option is provided for the case where no in-kernel-tree
84 modules require CRC32c functions, but a module built outside the
85 kernel tree does. Such modules that use library CRC32c functions
86 require M here. See Castagnoli93.
87 Module will be libcrc32c.
88
89 config CRC8
90 tristate "CRC8 function"
91 help
92 This option provides CRC8 function. Drivers may select this
93 when they need to do cyclic redundancy check according CRC8
94 algorithm. Module will be called crc8.
95
96 config AUDIT_GENERIC
97 bool
98 depends on AUDIT && !AUDIT_ARCH
99 default y
100
101 #
102 # compression support is select'ed if needed
103 #
104 config ZLIB_INFLATE
105 tristate
106
107 config ZLIB_DEFLATE
108 tristate
109
110 config LZO_COMPRESS
111 tristate
112
113 config LZO_DECOMPRESS
114 tristate
115
116 source "lib/xz/Kconfig"
117
118 #
119 # These all provide a common interface (hence the apparent duplication with
120 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
121 #
122 config DECOMPRESS_GZIP
123 select ZLIB_INFLATE
124 tristate
125
126 config DECOMPRESS_BZIP2
127 tristate
128
129 config DECOMPRESS_LZMA
130 tristate
131
132 config DECOMPRESS_XZ
133 select XZ_DEC
134 tristate
135
136 config DECOMPRESS_LZO
137 select LZO_DECOMPRESS
138 tristate
139
140 #
141 # Generic allocator support is selected if needed
142 #
143 config GENERIC_ALLOCATOR
144 boolean
145
146 #
147 # reed solomon support is select'ed if needed
148 #
149 config REED_SOLOMON
150 tristate
151
152 config REED_SOLOMON_ENC8
153 boolean
154
155 config REED_SOLOMON_DEC8
156 boolean
157
158 config REED_SOLOMON_ENC16
159 boolean
160
161 config REED_SOLOMON_DEC16
162 boolean
163
164 #
165 # BCH support is selected if needed
166 #
167 config BCH
168 tristate
169
170 config BCH_CONST_PARAMS
171 boolean
172 help
173 Drivers may select this option to force specific constant
174 values for parameters 'm' (Galois field order) and 't'
175 (error correction capability). Those specific values must
176 be set by declaring default values for symbols BCH_CONST_M
177 and BCH_CONST_T.
178 Doing so will enable extra compiler optimizations,
179 improving encoding and decoding performance up to 2x for
180 usual (m,t) values (typically such that m*t < 200).
181 When this option is selected, the BCH library supports
182 only a single (m,t) configuration. This is mainly useful
183 for NAND flash board drivers requiring known, fixed BCH
184 parameters.
185
186 config BCH_CONST_M
187 int
188 range 5 15
189 help
190 Constant value for Galois field order 'm'. If 'k' is the
191 number of data bits to protect, 'm' should be chosen such
192 that (k + m*t) <= 2**m - 1.
193 Drivers should declare a default value for this symbol if
194 they select option BCH_CONST_PARAMS.
195
196 config BCH_CONST_T
197 int
198 help
199 Constant value for error correction capability in bits 't'.
200 Drivers should declare a default value for this symbol if
201 they select option BCH_CONST_PARAMS.
202
203 #
204 # Textsearch support is select'ed if needed
205 #
206 config TEXTSEARCH
207 boolean
208
209 config TEXTSEARCH_KMP
210 tristate
211
212 config TEXTSEARCH_BM
213 tristate
214
215 config TEXTSEARCH_FSM
216 tristate
217
218 config BTREE
219 boolean
220
221 config HAS_IOMEM
222 boolean
223 depends on !NO_IOMEM
224 default y
225
226 config HAS_IOPORT
227 boolean
228 depends on HAS_IOMEM && !NO_IOPORT
229 default y
230
231 config HAS_DMA
232 boolean
233 depends on !NO_DMA
234 default y
235
236 config CHECK_SIGNATURE
237 bool
238
239 config CPUMASK_OFFSTACK
240 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
241 help
242 Use dynamic allocation for cpumask_var_t, instead of putting
243 them on the stack. This is a bit more expensive, but avoids
244 stack overflow.
245
246 config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
247 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
248 depends on EXPERIMENTAL && BROKEN
249
250 config CPU_RMAP
251 bool
252 depends on SMP
253
254 #
255 # Netlink attribute parsing support is select'ed if needed
256 #
257 config NLATTR
258 bool
259
260 #
261 # Generic 64-bit atomic support is selected if needed
262 #
263 config GENERIC_ATOMIC64
264 bool
265
266 config LRU_CACHE
267 tristate
268
269 config AVERAGE
270 bool "Averaging functions"
271 help
272 This option is provided for the case where no in-kernel-tree
273 modules require averaging functions, but a module built outside
274 the kernel tree does. Such modules that use library averaging
275 functions require Y here.
276
277 If unsure, say N.
278
279 config CORDIC
280 tristate "Cordic function"
281 help
282 The option provides arithmetic function using cordic algorithm
283 so its calculations are in fixed point. Modules can select this
284 when they require this function. Module will be called cordic.
285
286 endmenu
This page took 0.036054 seconds and 5 git commands to generate.