code style scripts/checkpatch.pl (linux-3.9-rc1) formatting
[linux-2.6.34.14-moxart.git] / lib / Kconfig
blob170d8ca901d8c61faf09a1aff5846c65b96eced1
2 # Library configuration
5 config BINARY_PRINTF
6         def_bool n
8 menu "Library routines"
10 config BITREVERSE
11         tristate
13 config RATIONAL
14         boolean
16 config GENERIC_FIND_FIRST_BIT
17         bool
19 config GENERIC_FIND_NEXT_BIT
20         bool
22 config GENERIC_FIND_LAST_BIT
23         bool
24         default y
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.
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.
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.
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.
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.
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.
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.
86 config AUDIT_GENERIC
87         bool
88         depends on AUDIT && !AUDIT_ARCH
89         default y
92 # compression support is select'ed if needed
94 config ZLIB_INFLATE
95         tristate
97 config ZLIB_DEFLATE
98         tristate
100 config LZO_COMPRESS
101         tristate
103 config LZO_DECOMPRESS
104         tristate
107 # These all provide a common interface (hence the apparent duplication with
108 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
110 config DECOMPRESS_GZIP
111         select ZLIB_INFLATE
112         tristate
114 config DECOMPRESS_BZIP2
115         tristate
117 config DECOMPRESS_LZMA
118         tristate
120 config DECOMPRESS_LZO
121         select LZO_DECOMPRESS
122         tristate
125 # Generic allocator support is selected if needed
127 config GENERIC_ALLOCATOR
128         boolean
131 # reed solomon support is select'ed if needed
133 config REED_SOLOMON
134         tristate
135         
136 config REED_SOLOMON_ENC8
137         boolean
139 config REED_SOLOMON_DEC8
140         boolean
142 config REED_SOLOMON_ENC16
143         boolean
145 config REED_SOLOMON_DEC16
146         boolean
149 # Textsearch support is select'ed if needed
151 config TEXTSEARCH
152         boolean
154 config TEXTSEARCH_KMP
155         tristate
157 config TEXTSEARCH_BM
158         tristate
160 config TEXTSEARCH_FSM
161         tristate
163 config BTREE
164         boolean
166 config HAS_IOMEM
167         boolean
168         depends on !NO_IOMEM
169         default y
171 config HAS_IOPORT
172         boolean
173         depends on HAS_IOMEM && !NO_IOPORT
174         default y
176 config HAS_DMA
177         boolean
178         depends on !NO_DMA
179         default y
181 config CHECK_SIGNATURE
182         bool
184 config HAVE_LMB
185         boolean
187 config CPUMASK_OFFSTACK
188         bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
189         help
190           Use dynamic allocation for cpumask_var_t, instead of putting
191           them on the stack.  This is a bit more expensive, but avoids
192           stack overflow.
194 config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
195        bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
196        depends on EXPERIMENTAL && BROKEN
199 # Netlink attribute parsing support is select'ed if needed
201 config NLATTR
202         bool
205 # Generic 64-bit atomic support is selected if needed
207 config GENERIC_ATOMIC64
208        bool
210 config LRU_CACHE
211         tristate
213 endmenu