Kconfig 5.7 KB

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