Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. #
  2. # Library configuration
  3. #
  4. config BINARY_PRINTF
  5. def_bool n
  6. menu "Library routines"
  7. config RAID6_PQ
  8. tristate
  9. config BITREVERSE
  10. tristate
  11. config RATIONAL
  12. boolean
  13. config GENERIC_FIND_FIRST_BIT
  14. bool
  15. config GENERIC_FIND_NEXT_BIT
  16. bool
  17. config GENERIC_FIND_BIT_LE
  18. bool
  19. config GENERIC_FIND_LAST_BIT
  20. bool
  21. default y
  22. config CRC_CCITT
  23. tristate "CRC-CCITT functions"
  24. help
  25. This option is provided for the case where no in-kernel-tree
  26. modules require CRC-CCITT functions, but a module built outside
  27. the kernel tree does. Such modules that use library CRC-CCITT
  28. functions require M here.
  29. config CRC16
  30. tristate "CRC16 functions"
  31. help
  32. This option is provided for the case where no in-kernel-tree
  33. modules require CRC16 functions, but a module built outside
  34. the kernel tree does. Such modules that use library CRC16
  35. functions require M here.
  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. config CRC_ITU_T
  43. tristate "CRC ITU-T V.41 functions"
  44. help
  45. This option is provided for the case where no in-kernel-tree
  46. modules require CRC ITU-T V.41 functions, but a module built outside
  47. the kernel tree does. Such modules that use library CRC ITU-T V.41
  48. functions require M here.
  49. config CRC32
  50. tristate "CRC32 functions"
  51. default y
  52. select BITREVERSE
  53. help
  54. This option is provided for the case where no in-kernel-tree
  55. modules require CRC32 functions, but a module built outside the
  56. kernel tree does. Such modules that use library CRC32 functions
  57. require M here.
  58. config CRC7
  59. tristate "CRC7 functions"
  60. help
  61. This option is provided for the case where no in-kernel-tree
  62. modules require CRC7 functions, but a module built outside
  63. the kernel tree does. Such modules that use library CRC7
  64. functions require M here.
  65. config LIBCRC32C
  66. tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
  67. select CRYPTO
  68. select CRYPTO_CRC32C
  69. help
  70. This option is provided for the case where no in-kernel-tree
  71. modules require CRC32c functions, but a module built outside the
  72. kernel tree does. Such modules that use library CRC32c functions
  73. require M here. See Castagnoli93.
  74. Module will be libcrc32c.
  75. config CRC8
  76. tristate "CRC8 function"
  77. help
  78. This option provides CRC8 function. Drivers may select this
  79. when they need to do cyclic redundancy check according CRC8
  80. algorithm. Module will be called crc8.
  81. config AUDIT_GENERIC
  82. bool
  83. depends on AUDIT && !AUDIT_ARCH
  84. default y
  85. #
  86. # compression support is select'ed if needed
  87. #
  88. config ZLIB_INFLATE
  89. tristate
  90. config ZLIB_DEFLATE
  91. tristate
  92. config LZO_COMPRESS
  93. tristate
  94. config LZO_DECOMPRESS
  95. tristate
  96. source "lib/xz/Kconfig"
  97. #
  98. # These all provide a common interface (hence the apparent duplication with
  99. # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
  100. #
  101. config DECOMPRESS_GZIP
  102. select ZLIB_INFLATE
  103. tristate
  104. config DECOMPRESS_BZIP2
  105. tristate
  106. config DECOMPRESS_LZMA
  107. tristate
  108. config DECOMPRESS_XZ
  109. select XZ_DEC
  110. tristate
  111. config DECOMPRESS_LZO
  112. select LZO_DECOMPRESS
  113. tristate
  114. #
  115. # Generic allocator support is selected if needed
  116. #
  117. config GENERIC_ALLOCATOR
  118. boolean
  119. #
  120. # reed solomon support is select'ed if needed
  121. #
  122. config REED_SOLOMON
  123. tristate
  124. config REED_SOLOMON_ENC8
  125. boolean
  126. config REED_SOLOMON_DEC8
  127. boolean
  128. config REED_SOLOMON_ENC16
  129. boolean
  130. config REED_SOLOMON_DEC16
  131. boolean
  132. #
  133. # BCH support is selected if needed
  134. #
  135. config BCH
  136. tristate
  137. config BCH_CONST_PARAMS
  138. boolean
  139. help
  140. Drivers may select this option to force specific constant
  141. values for parameters 'm' (Galois field order) and 't'
  142. (error correction capability). Those specific values must
  143. be set by declaring default values for symbols BCH_CONST_M
  144. and BCH_CONST_T.
  145. Doing so will enable extra compiler optimizations,
  146. improving encoding and decoding performance up to 2x for
  147. usual (m,t) values (typically such that m*t < 200).
  148. When this option is selected, the BCH library supports
  149. only a single (m,t) configuration. This is mainly useful
  150. for NAND flash board drivers requiring known, fixed BCH
  151. parameters.
  152. config BCH_CONST_M
  153. int
  154. range 5 15
  155. help
  156. Constant value for Galois field order 'm'. If 'k' is the
  157. number of data bits to protect, 'm' should be chosen such
  158. that (k + m*t) <= 2**m - 1.
  159. Drivers should declare a default value for this symbol if
  160. they select option BCH_CONST_PARAMS.
  161. config BCH_CONST_T
  162. int
  163. help
  164. Constant value for error correction capability in bits 't'.
  165. Drivers should declare a default value for this symbol if
  166. they select option BCH_CONST_PARAMS.
  167. #
  168. # Textsearch support is select'ed if needed
  169. #
  170. config TEXTSEARCH
  171. boolean
  172. config TEXTSEARCH_KMP
  173. tristate
  174. config TEXTSEARCH_BM
  175. tristate
  176. config TEXTSEARCH_FSM
  177. tristate
  178. config BTREE
  179. boolean
  180. config HAS_IOMEM
  181. boolean
  182. depends on !NO_IOMEM
  183. default y
  184. config HAS_IOPORT
  185. boolean
  186. depends on HAS_IOMEM && !NO_IOPORT
  187. default y
  188. config HAS_DMA
  189. boolean
  190. depends on !NO_DMA
  191. default y
  192. config CHECK_SIGNATURE
  193. bool
  194. config CPUMASK_OFFSTACK
  195. bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
  196. help
  197. Use dynamic allocation for cpumask_var_t, instead of putting
  198. them on the stack. This is a bit more expensive, but avoids
  199. stack overflow.
  200. config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
  201. bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
  202. depends on EXPERIMENTAL && BROKEN
  203. config CPU_RMAP
  204. bool
  205. depends on SMP
  206. #
  207. # Netlink attribute parsing support is select'ed if needed
  208. #
  209. config NLATTR
  210. bool
  211. #
  212. # Generic 64-bit atomic support is selected if needed
  213. #
  214. config GENERIC_ATOMIC64
  215. bool
  216. config LRU_CACHE
  217. tristate
  218. config AVERAGE
  219. bool "Averaging functions"
  220. help
  221. This option is provided for the case where no in-kernel-tree
  222. modules require averaging functions, but a module built outside
  223. the kernel tree does. Such modules that use library averaging
  224. functions require Y here.
  225. If unsure, say N.
  226. config CORDIC
  227. tristate "Cordic function"
  228. help
  229. The option provides arithmetic function using cordic algorithm
  230. so its calculations are in fixed point. Modules can select this
  231. when they require this function. Module will be called cordic.
  232. endmenu