Kconfig 5.8 KB

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