Kconfig 5.8 KB

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