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