• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Library configuration
3#
4
5menu "Library routines"
6
7config BITREVERSE
8	tristate
9
10config GENERIC_FIND_FIRST_BIT
11	bool
12
13config GENERIC_FIND_NEXT_BIT
14	bool
15
16config GENERIC_FIND_LAST_BIT
17	bool
18	default y
19
20config 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
28config 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
36config 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
43config 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
51config 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
61config 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
69config 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
80config AUDIT_GENERIC
81	bool
82	depends on AUDIT && !AUDIT_ARCH
83	default y
84
85#
86# compression support is select'ed if needed
87#
88config ZLIB_INFLATE
89	tristate
90
91config ZLIB_DEFLATE
92	tristate
93
94config LZO_COMPRESS
95	tristate
96
97config LZO_DECOMPRESS
98	tristate
99
100#
101# Generic allocator support is selected if needed
102#
103config GENERIC_ALLOCATOR
104	boolean
105
106#
107# 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
124#
125# Textsearch support is select'ed if needed
126#
127config TEXTSEARCH
128	boolean
129
130config TEXTSEARCH_KMP
131	tristate
132
133config TEXTSEARCH_BM
134	tristate
135
136config TEXTSEARCH_FSM
137	tristate
138
139#
140# plist support is select#ed if needed
141#
142config PLIST
143	boolean
144
145config HAS_IOMEM
146	boolean
147	depends on !NO_IOMEM
148	default y
149
150config HAS_IOPORT
151	boolean
152	depends on HAS_IOMEM && !NO_IOPORT
153	default y
154
155config HAS_DMA
156	boolean
157	depends on !NO_DMA
158	default y
159
160config CHECK_SIGNATURE
161	bool
162
163config HAVE_LMB
164	boolean
165
166config 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
173config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
174       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
175       depends on EXPERIMENTAL && BROKEN
176
177endmenu
178