Kconfig 6.0 KB

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