Kconfig 6.0 KB

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