Kconfig 5.8 KB

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