blob: 7823f8342abf1c8f403a251b56d428dc9bf703a5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
5menu "Library routines"
6
Akinobu Mitaa5cfc1e2006-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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016config CRC_CCITT
17 tristate "CRC-CCITT functions"
18 help
19 This option is provided for the case where no in-kernel-tree
20 modules require CRC-CCITT functions, but a module built outside
21 the kernel tree does. Such modules that use library CRC-CCITT
22 functions require M here.
23
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040024config CRC16
25 tristate "CRC16 functions"
26 help
27 This option is provided for the case where no in-kernel-tree
28 modules require CRC16 functions, but a module built outside
29 the kernel tree does. Such modules that use library CRC16
30 functions require M here.
31
Martin K. Petersenf11f5942008-06-25 11:22:42 -040032config CRC_T10DIF
33 tristate "CRC calculation for the T10 Data Integrity Field"
34 help
35 This option is only needed if a module that's not in the
36 kernel tree needs to calculate CRC checks for use with the
37 SCSI data integrity subsystem.
38
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020039config CRC_ITU_T
40 tristate "CRC ITU-T V.41 functions"
41 help
42 This option is provided for the case where no in-kernel-tree
43 modules require CRC ITU-T V.41 functions, but a module built outside
44 the kernel tree does. Such modules that use library CRC ITU-T V.41
45 functions require M here.
46
Linus Torvalds1da177e2005-04-16 15:20:36 -070047config CRC32
48 tristate "CRC32 functions"
49 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080050 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070051 help
52 This option is provided for the case where no in-kernel-tree
53 modules require CRC32 functions, but a module built outside the
54 kernel tree does. Such modules that use library CRC32 functions
55 require M here.
56
Jan Nikitenkoad241522007-07-17 04:04:03 -070057config CRC7
58 tristate "CRC7 functions"
59 help
60 This option is provided for the case where no in-kernel-tree
61 modules require CRC7 functions, but a module built outside
62 the kernel tree does. Such modules that use library CRC7
63 functions require M here.
64
Linus Torvalds1da177e2005-04-16 15:20:36 -070065config LIBCRC32C
66 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
67 help
68 This option is provided for the case where no in-kernel-tree
69 modules require CRC32c functions, but a module built outside the
70 kernel tree does. Such modules that use library CRC32c functions
71 require M here. See Castagnoli93.
72 Module will be libcrc32c.
73
Al Viroe65e1fc2006-09-12 03:04:40 -040074config AUDIT_GENERIC
75 bool
76 depends on AUDIT && !AUDIT_ARCH
77 default y
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079#
80# compression support is select'ed if needed
81#
82config ZLIB_INFLATE
83 tristate
84
85config ZLIB_DEFLATE
86 tristate
87
Richard Purdie64c70b12007-07-10 17:22:24 -070088config LZO_COMPRESS
89 tristate
90
91config LZO_DECOMPRESS
92 tristate
93
Linus Torvalds1da177e2005-04-16 15:20:36 -070094#
Jes Sorensenf14f75b2005-06-21 17:15:02 -070095# Generic allocator support is selected if needed
96#
97config GENERIC_ALLOCATOR
98 boolean
99
100#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101# reed solomon support is select'ed if needed
102#
103config REED_SOLOMON
104 tristate
105
106config REED_SOLOMON_ENC8
107 boolean
108
109config REED_SOLOMON_DEC8
110 boolean
111
112config REED_SOLOMON_ENC16
113 boolean
114
115config REED_SOLOMON_DEC16
116 boolean
117
David S. Millerf7704342005-06-24 17:39:03 -0700118#
119# Textsearch support is select'ed if needed
120#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700121config TEXTSEARCH
David S. Millerf7704342005-06-24 17:39:03 -0700122 boolean
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123
Thomas Grafdf3fb932005-06-23 20:58:37 -0700124config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700125 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700126
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700127config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700128 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700129
Thomas Graf6408f792005-06-23 20:59:16 -0700130config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700131 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700132
Ingo Molnar77ba89c2006-06-27 02:54:51 -0700133#
134# plist support is select#ed if needed
135#
136config PLIST
137 boolean
138
Al Viro5ea81762007-02-11 15:41:31 +0000139config HAS_IOMEM
Al Viroee36c2b2006-12-13 00:35:00 -0800140 boolean
Al Viro5ea81762007-02-11 15:41:31 +0000141 depends on !NO_IOMEM
142 default y
143
144config HAS_IOPORT
145 boolean
146 depends on HAS_IOMEM && !NO_IOPORT
Al Viroee36c2b2006-12-13 00:35:00 -0800147 default y
148
Heiko Carstens411f0f32007-05-06 14:49:09 -0700149config HAS_DMA
150 boolean
151 depends on !NO_DMA
152 default y
153
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700154config CHECK_SIGNATURE
155 bool
156
David S. Millerd9b2b2a2008-02-13 16:56:49 -0800157config HAVE_LMB
158 boolean
159
Rusty Russellaab46da2008-12-13 21:20:27 +1030160config CPUMASK_OFFSTACK
161 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
162 help
163 Use dynamic allocation for cpumask_var_t, instead of putting
164 them on the stack. This is a bit more expensive, but avoids
165 stack overflow.
166
Thomas Graf2de4ff72005-06-23 20:49:30 -0700167endmenu