Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6
[sfrench/cifs-2.6.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 BITREVERSE
11         tristate
12
13 config RATIONAL
14         boolean
15
16 config GENERIC_FIND_FIRST_BIT
17         bool
18
19 config GENERIC_FIND_NEXT_BIT
20         bool
21
22 config GENERIC_FIND_LAST_BIT
23         bool
24         default y
25
26 config CRC_CCITT
27         tristate "CRC-CCITT functions"
28         help
29           This option is provided for the case where no in-kernel-tree
30           modules require CRC-CCITT functions, but a module built outside
31           the kernel tree does. Such modules that use library CRC-CCITT
32           functions require M here.
33
34 config CRC16
35         tristate "CRC16 functions"
36         help
37           This option is provided for the case where no in-kernel-tree
38           modules require CRC16 functions, but a module built outside
39           the kernel tree does. Such modules that use library CRC16
40           functions require M here.
41
42 config CRC_T10DIF
43         tristate "CRC calculation for the T10 Data Integrity Field"
44         help
45           This option is only needed if a module that's not in the
46           kernel tree needs to calculate CRC checks for use with the
47           SCSI data integrity subsystem.
48
49 config CRC_ITU_T
50         tristate "CRC ITU-T V.41 functions"
51         help
52           This option is provided for the case where no in-kernel-tree
53           modules require CRC ITU-T V.41 functions, but a module built outside
54           the kernel tree does. Such modules that use library CRC ITU-T V.41
55           functions require M here.
56
57 config CRC32
58         tristate "CRC32 functions"
59         default y
60         select BITREVERSE
61         help
62           This option is provided for the case where no in-kernel-tree
63           modules require CRC32 functions, but a module built outside the
64           kernel tree does. Such modules that use library CRC32 functions
65           require M here.
66
67 config CRC7
68         tristate "CRC7 functions"
69         help
70           This option is provided for the case where no in-kernel-tree
71           modules require CRC7 functions, but a module built outside
72           the kernel tree does. Such modules that use library CRC7
73           functions require M here.
74
75 config LIBCRC32C
76         tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
77         select CRYPTO
78         select CRYPTO_CRC32C
79         help
80           This option is provided for the case where no in-kernel-tree
81           modules require CRC32c functions, but a module built outside the
82           kernel tree does. Such modules that use library CRC32c functions
83           require M here.  See Castagnoli93.
84           Module will be libcrc32c.
85
86 config AUDIT_GENERIC
87         bool
88         depends on AUDIT && !AUDIT_ARCH
89         default y
90
91 #
92 # compression support is select'ed if needed
93 #
94 config ZLIB_INFLATE
95         tristate
96
97 config ZLIB_DEFLATE
98         tristate
99
100 config LZO_COMPRESS
101         tristate
102
103 config LZO_DECOMPRESS
104         tristate
105
106 #
107 # These all provide a common interface (hence the apparent duplication with
108 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
109 #
110 config DECOMPRESS_GZIP
111         select ZLIB_INFLATE
112         tristate
113
114 config DECOMPRESS_BZIP2
115         tristate
116
117 config DECOMPRESS_LZMA
118         tristate
119
120 #
121 # Generic allocator support is selected if needed
122 #
123 config GENERIC_ALLOCATOR
124         boolean
125
126 #
127 # reed solomon support is select'ed if needed
128 #
129 config REED_SOLOMON
130         tristate
131         
132 config REED_SOLOMON_ENC8
133         boolean
134
135 config REED_SOLOMON_DEC8
136         boolean
137
138 config REED_SOLOMON_ENC16
139         boolean
140
141 config REED_SOLOMON_DEC16
142         boolean
143
144 #
145 # Textsearch support is select'ed if needed
146 #
147 config TEXTSEARCH
148         boolean
149
150 config TEXTSEARCH_KMP
151         tristate
152
153 config TEXTSEARCH_BM
154         tristate
155
156 config TEXTSEARCH_FSM
157         tristate
158
159 config HAS_IOMEM
160         boolean
161         depends on !NO_IOMEM
162         default y
163
164 config HAS_IOPORT
165         boolean
166         depends on HAS_IOMEM && !NO_IOPORT
167         default y
168
169 config HAS_DMA
170         boolean
171         depends on !NO_DMA
172         default y
173
174 config CHECK_SIGNATURE
175         bool
176
177 config HAVE_LMB
178         boolean
179
180 config CPUMASK_OFFSTACK
181         bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
182         help
183           Use dynamic allocation for cpumask_var_t, instead of putting
184           them on the stack.  This is a bit more expensive, but avoids
185           stack overflow.
186
187 config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
188        bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
189        depends on EXPERIMENTAL && BROKEN
190
191 #
192 # Netlink attribute parsing support is select'ed if needed
193 #
194 config NLATTR
195         bool
196
197 endmenu