Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
[pandora-kernel.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 # These all provide a common interface (hence the apparent duplication with
102 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
103 #
104 config DECOMPRESS_GZIP
105         select ZLIB_INFLATE
106         tristate
107
108 config DECOMPRESS_BZIP2
109         tristate
110
111 config DECOMPRESS_LZMA
112         tristate
113
114 #
115 # Generic allocator support is selected if needed
116 #
117 config GENERIC_ALLOCATOR
118         boolean
119
120 #
121 # reed solomon support is select'ed if needed
122 #
123 config REED_SOLOMON
124         tristate
125         
126 config REED_SOLOMON_ENC8
127         boolean
128
129 config REED_SOLOMON_DEC8
130         boolean
131
132 config REED_SOLOMON_ENC16
133         boolean
134
135 config REED_SOLOMON_DEC16
136         boolean
137
138 #
139 # Textsearch support is select'ed if needed
140 #
141 config TEXTSEARCH
142         boolean
143
144 config TEXTSEARCH_KMP
145         tristate
146
147 config TEXTSEARCH_BM
148         tristate
149
150 config TEXTSEARCH_FSM
151         tristate
152
153 config HAS_IOMEM
154         boolean
155         depends on !NO_IOMEM
156         default y
157
158 config HAS_IOPORT
159         boolean
160         depends on HAS_IOMEM && !NO_IOPORT
161         default y
162
163 config HAS_DMA
164         boolean
165         depends on !NO_DMA
166         default y
167
168 config CHECK_SIGNATURE
169         bool
170
171 config HAVE_LMB
172         boolean
173
174 config CPUMASK_OFFSTACK
175         bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
176         help
177           Use dynamic allocation for cpumask_var_t, instead of putting
178           them on the stack.  This is a bit more expensive, but avoids
179           stack overflow.
180
181 config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
182        bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
183        depends on EXPERIMENTAL && BROKEN
184
185 #
186 # Netlink attribute parsing support is select'ed if needed
187 #
188 config NLATTR
189         bool
190
191 endmenu