Kconfig 6.1 KB

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