Kconfig 6.8 KB

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