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