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