Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux/PA-RISC Kernel Configuration"
  6. config PARISC
  7. def_bool y
  8. help
  9. The PA-RISC microprocessor is designed by Hewlett-Packard and used
  10. in many of their workstations & servers (HP9000 700 and 800 series,
  11. and later HP3000 series). The PA-RISC Linux project home page is
  12. at <http://www.parisc-linux.org/>.
  13. config MMU
  14. def_bool y
  15. config STACK_GROWSUP
  16. def_bool y
  17. config GENERIC_LOCKBREAK
  18. bool
  19. default y
  20. depends on SMP && PREEMPT
  21. config RWSEM_GENERIC_SPINLOCK
  22. def_bool y
  23. config RWSEM_XCHGADD_ALGORITHM
  24. bool
  25. config ARCH_HAS_ILOG2_U32
  26. bool
  27. default n
  28. config ARCH_HAS_ILOG2_U64
  29. bool
  30. default n
  31. config GENERIC_FIND_NEXT_BIT
  32. bool
  33. default y
  34. config GENERIC_BUG
  35. bool
  36. default y
  37. depends on BUG
  38. config GENERIC_HWEIGHT
  39. bool
  40. default y
  41. config GENERIC_CALIBRATE_DELAY
  42. bool
  43. default y
  44. config GENERIC_TIME
  45. bool
  46. default y
  47. config TIME_LOW_RES
  48. bool
  49. depends on SMP
  50. default y
  51. config GENERIC_HARDIRQS
  52. def_bool y
  53. config GENERIC_IRQ_PROBE
  54. def_bool y
  55. config IRQ_PER_CPU
  56. bool
  57. default y
  58. # unless you want to implement ACPI on PA-RISC ... ;-)
  59. config PM
  60. bool
  61. config ISA_DMA_API
  62. bool
  63. config ARCH_MAY_HAVE_PC_FDC
  64. bool
  65. depends on BROKEN
  66. default y
  67. source "init/Kconfig"
  68. menu "Processor type and features"
  69. choice
  70. prompt "Processor type"
  71. default PA7000
  72. config PA7000
  73. bool "PA7000/PA7100"
  74. ---help---
  75. This is the processor type of your CPU. This information is
  76. used for optimizing purposes. In order to compile a kernel
  77. that can run on all 32-bit PA CPUs (albeit not optimally fast),
  78. you can specify "PA7000" here.
  79. Specifying "PA8000" here will allow you to select a 64-bit kernel
  80. which is required on some machines.
  81. config PA7100LC
  82. bool "PA7100LC"
  83. help
  84. Select this option for the PCX-L processor, as used in the
  85. 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
  86. D200, D210, D300, D310 and E-class
  87. config PA7200
  88. bool "PA7200"
  89. help
  90. Select this option for the PCX-T' processor, as used in the
  91. C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
  92. K100, K200, K210, K220, K400, K410 and K420
  93. config PA7300LC
  94. bool "PA7300LC"
  95. help
  96. Select this option for the PCX-L2 processor, as used in the
  97. 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
  98. D220, D230, D320 and D330.
  99. config PA8X00
  100. bool "PA8000 and up"
  101. help
  102. Select this option for PCX-U to PCX-W2 processors.
  103. endchoice
  104. # Define implied options from the CPU selection here
  105. config PA20
  106. def_bool y
  107. depends on PA8X00
  108. config PA11
  109. def_bool y
  110. depends on PA7000 || PA7100LC || PA7200 || PA7300LC
  111. config PREFETCH
  112. def_bool y
  113. depends on PA8X00 || PA7200
  114. config 64BIT
  115. bool "64-bit kernel"
  116. depends on PA8X00
  117. help
  118. Enable this if you want to support 64bit kernel on PA-RISC platform.
  119. At the moment, only people willing to use more than 2GB of RAM,
  120. or having a 64bit-only capable PA-RISC machine should say Y here.
  121. Since there is no 64bit userland on PA-RISC, there is no point to
  122. enable this option otherwise. The 64bit kernel is significantly bigger
  123. and slower than the 32bit one.
  124. choice
  125. prompt "Kernel page size"
  126. default PARISC_PAGE_SIZE_4KB if !64BIT
  127. default PARISC_PAGE_SIZE_4KB if 64BIT
  128. # default PARISC_PAGE_SIZE_16KB if 64BIT
  129. config PARISC_PAGE_SIZE_4KB
  130. bool "4KB"
  131. help
  132. This lets you select the page size of the kernel. For best
  133. performance, a page size of 16KB is recommended. For best
  134. compatibility with 32bit applications, a page size of 4KB should be
  135. selected (the vast majority of 32bit binaries work perfectly fine
  136. with a larger page size).
  137. 4KB For best 32bit compatibility
  138. 16KB For best performance
  139. 64KB For best performance, might give more overhead.
  140. If you don't know what to do, choose 4KB.
  141. config PARISC_PAGE_SIZE_16KB
  142. bool "16KB (EXPERIMENTAL)"
  143. depends on PA8X00 && EXPERIMENTAL
  144. config PARISC_PAGE_SIZE_64KB
  145. bool "64KB (EXPERIMENTAL)"
  146. depends on PA8X00 && EXPERIMENTAL
  147. endchoice
  148. config SMP
  149. bool "Symmetric multi-processing support"
  150. ---help---
  151. This enables support for systems with more than one CPU. If you have
  152. a system with only one CPU, like most personal computers, say N. If
  153. you have a system with more than one CPU, say Y.
  154. If you say N here, the kernel will run on single and multiprocessor
  155. machines, but will use only one CPU of a multiprocessor machine. If
  156. you say Y here, the kernel will run on many, but not all,
  157. singleprocessor machines. On a singleprocessor machine, the kernel
  158. will run faster if you say N here.
  159. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  160. available at <http://www.tldp.org/docs.html#howto>.
  161. If you don't know what to do here, say N.
  162. config HOTPLUG_CPU
  163. bool
  164. default y if SMP
  165. select HOTPLUG
  166. config ARCH_SELECT_MEMORY_MODEL
  167. def_bool y
  168. depends on 64BIT
  169. config ARCH_DISCONTIGMEM_ENABLE
  170. def_bool y
  171. depends on 64BIT
  172. config ARCH_FLATMEM_ENABLE
  173. def_bool y
  174. config ARCH_DISCONTIGMEM_DEFAULT
  175. def_bool y
  176. depends on ARCH_DISCONTIGMEM_ENABLE
  177. config NODES_SHIFT
  178. int
  179. default "3"
  180. depends on NEED_MULTIPLE_NODES
  181. source "kernel/Kconfig.preempt"
  182. source "kernel/Kconfig.hz"
  183. source "mm/Kconfig"
  184. config COMPAT
  185. def_bool y
  186. depends on 64BIT
  187. config HPUX
  188. bool "Support for HP-UX binaries"
  189. depends on !64BIT
  190. config NR_CPUS
  191. int "Maximum number of CPUs (2-32)"
  192. range 2 32
  193. depends on SMP
  194. default "32"
  195. endmenu
  196. source "drivers/parisc/Kconfig"
  197. menu "Executable file formats"
  198. source "fs/Kconfig.binfmt"
  199. endmenu
  200. source "net/Kconfig"
  201. source "drivers/Kconfig"
  202. source "fs/Kconfig"
  203. source "kernel/Kconfig.instrumentation"
  204. source "arch/parisc/Kconfig.debug"
  205. source "security/Kconfig"
  206. source "crypto/Kconfig"
  207. source "lib/Kconfig"