blob: cea9e30a88ff2b26f5b2535f31f227c91ac5625a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
5menu "Library routines"
6
Akinobu Mitaa5cfc1ec582006-12-08 02:36:25 -08007config BITREVERSE
8 tristate
9
Alexander van Heukelum19870de2008-04-25 13:12:53 +020010config GENERIC_FIND_FIRST_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070011 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020012
13config GENERIC_FIND_NEXT_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070014 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020015
Rusty Russellab53d472009-01-01 10:12:19 +103016config GENERIC_FIND_LAST_BIT
17 bool
18 default y
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config 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
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040028config 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
Martin K. Petersenf11f5942008-06-25 11:22:42 -040036config 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
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020043config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070051config CRC32
52 tristate "CRC32 functions"
53 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080054 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 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
Jan Nikitenkoad241522007-07-17 04:04:03 -070061config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070069config LIBCRC32C
70 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
Herbert Xu93027352008-11-13 22:05:13 +080071 select CRYPTO
Herbert Xu69c35ef2008-11-07 15:11:47 +080072 select CRYPTO_CRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 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
Al Viroe65e1fc2006-09-12 03:04:40 -040080config AUDIT_GENERIC
81 bool
82 depends on AUDIT && !AUDIT_ARCH
83 default y
84
Linus Torvalds1da177e2005-04-16 15:20:36 -070085#
86# compression support is select'ed if needed
87#
88config ZLIB_INFLATE
89 tristate
90
91config ZLIB_DEFLATE
92 tristate
93
Richard Purdie64c70b12007-07-10 17:22:24 -070094config LZO_COMPRESS
95 tristate
96
97config LZO_DECOMPRESS
98 tristate
99
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100#
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700101# Generic allocator support is selected if needed
102#
103config GENERIC_ALLOCATOR
104 boolean
105
106#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107# reed solomon support is select'ed if needed
108#
109config REED_SOLOMON
110 tristate
111
112config REED_SOLOMON_ENC8
113 boolean
114
115config REED_SOLOMON_DEC8
116 boolean
117
118config REED_SOLOMON_ENC16
119 boolean
120
121config REED_SOLOMON_DEC16
122 boolean
123
David S. Millerf7704342005-06-24 17:39:03 -0700124#
125# Textsearch support is select'ed if needed
126#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700127config TEXTSEARCH
David S. Millerf7704342005-06-24 17:39:03 -0700128 boolean
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129
Thomas Grafdf3fb932005-06-23 20:58:37 -0700130config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700131 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700132
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700133config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700134 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700135
Thomas Graf6408f792005-06-23 20:59:16 -0700136config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700137 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700138
Ingo Molnar77ba89c2006-06-27 02:54:51 -0700139#
140# plist support is select#ed if needed
141#
142config PLIST
143 boolean
144
Al Viro5ea81762007-02-11 15:41:31 +0000145config HAS_IOMEM
Al Viroee36c2b2006-12-13 00:35:00 -0800146 boolean
Al Viro5ea81762007-02-11 15:41:31 +0000147 depends on !NO_IOMEM
148 default y
149
150config HAS_IOPORT
151 boolean
152 depends on HAS_IOMEM && !NO_IOPORT
Al Viroee36c2b2006-12-13 00:35:00 -0800153 default y
154
Heiko Carstens411f0f32007-05-06 14:49:09 -0700155config HAS_DMA
156 boolean
157 depends on !NO_DMA
158 default y
159
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700160config CHECK_SIGNATURE
161 bool
162
David S. Millerd9b2b2a2008-02-13 16:56:49 -0800163config HAVE_LMB
164 boolean
165
Rusty Russellaab46da2008-12-13 21:20:27 +1030166config 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
Rusty Russell8c384cd2009-01-01 10:12:30 +1030173config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
174 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
175 depends on EXPERIMENTAL && BROKEN
176
Geert Uytterhoevene9cc8bd2009-03-04 14:53:30 +0800177#
178# Netlink attribute parsing support is select'ed if needed
179#
180config NLATTR
181 bool
182
Thomas Graf2de4ff72005-06-23 20:49:30 -0700183endmenu