Kconfig 6.0 KB

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